Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    30
    Member #
    35925
    Hi Everybody,

    Good day
    Please see the following codes and response:


    h4.footer-header{
    background: transparent url(images/footer-header.png) no-repeat;
    line-height: 58px;
    text-indent: 30px;
    }

    #video .play{
    float:right;
    margin-top:5px;
    }

    .mini_portfolio_item .block_inside {
    background:none; background-color:#e2dddc;
    padding:25px 30px 15px 30px;
    }

    Why there has no gap/space between h4.footer-header?
    But why there has a gap/space between #video .play”?
    Why “id (#)” and “class (.)” both use here?

    .mini_portfolio_item .block_inside
    Whether both class (.) is active here or not?

    No more, I am waiting for your kind response.

    Thank you.

  2.  

  3. #2
    Member EdMarks's Avatar
    Join Date
    Nov 2011
    Location
    181º lat 91º long
    Posts
    51
    Member #
    29986
    Liked
    3 times
    Hello Foysal,
    Can you be a bit more specific?
    is there a link to the page you have questions about?

    I need to know how you implement these styles.

    Why there has no gap/space between h4.footer-header?
    Gab between what?

    Why “id (#)” and “class (.)” both use here?
    id and class both work.
    ID's are supposed to be unique, meaning there is only one element per Id.
    classes are meant to be used when there are many elements.
    I personally use ID for my Javascript and Class for my CSS, mostly.

  4. #3
    Member
    Join Date
    Apr 2013
    Posts
    30
    Member #
    35925
    Hi EdMarks,

    Thank you for your reply. I have already fix this problem.

    Here is a good explanation about space or no space:
    www dot css-tricks.co...s-id-selectors/

    I hope it helps. Thank you.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:13 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com