Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Nav won’t apply all css properties set.

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38409
    Dockers
    Member

    Hello Guys,

    I’m currently struggling with something really confusing for me. I am working on a header, and my nav class doesn’t understand all the CSS properties set. Take a look here: http://jsfiddle.net/ZUNaQ/6/

    The color i’ve given to it applies, but anything else doesn’t. The display:inline property doesn’t take effect as well as the list-style: none;

    Any help will be appreciated.

    Thanks!

    #104059
    Senff
    Participant

    You’re applying the styles on the NAV that wraps the list, not the list itself. So the NAV is displayed inline and has list-style:none; but those are not properties that are inherited, so they don’t apply to the

      and

    • elements in it.

      Is this what you need? http://jsfiddle.net/senff/ZUNaQ/12/ [link fixed]

    #104063
    Dockers
    Member

    Hey Senff,

    The link you provided is incorrect but i understood what you meant and made it work

    Thanks for your detailed answer, i finally got it :)

    Have a good one.

    Viewing 3 posts - 1 through 3 (of 3 total)
    • The forum ‘CSS’ is closed to new topics and replies.