SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS issue Please Help!!!

    To anybody,
    I have just started using CSS and html but when adding new code at the bottom of my css page nothing will happen unless I put it right at the top. I thought the last rule you enter overrides any previous rule?

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2008
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you post up your code so we can take a look?

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    The last rule does not ovrride the previous rule (unless they have the same specificity as such)
    Code:
    #container{color:red;/*whichever one of these comse later will be used*/}
    #container{color:bllue;}
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  4. #4
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by t3stin View Post
    could you post up your code so we can take a look?
    Thanks for getting back to me so quick I have managed to see where I was going wrong.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •