SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist ktown's Avatar
    Join Date
    May 2001
    Location
    toronto
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    list items - nn4 - ??

    hey all

    i have this

    Code:
     css 
    <style>
      ul#mainnav {
    	list-style-type: none;
     margin: 0;
     padding: 0;
     background-color: #d6d6d6;
     }
    </style>
     
     html 
    <ul id="mainnav">
      <li>Home</li>
      <li>About</li>
      <li>Feedback</li>
    </ul>
    it says on w3schools that NN4 should support this feature BUT


    This property does not work with definition lists
    This property does not work with elements with "display" property set to "list-item"


    ok. so obviously mine doesn't work because its set to list-item <LI> right? but i don't know how else i could specify it... so it works in NN4.. or am i even understanding this properly?

    thanks!
    ~nina

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by ktown
    hey all

    i have this

    Code:
     css 
    <style>
      ul#mainnav {
    	list-style-type: none;
     margin: 0;
     padding: 0;
     background-color: #d6d6d6;
     }
    </style>
     
     html 
    <ul id="mainnav">
      <li>Home</li>
      <li>About</li>
      <li>Feedback</li>
    </ul>
    it says on w3schools that NN4 should support this feature BUT


    This property does not work with definition lists
    This property does not work with elements with "display" property set to "list-item"


    ok. so obviously mine doesn't work because its set to list-item <LI> right?
    Yep.
    Quote Originally Posted by ktown
    but i don't know how else i could specify it... so it works in NN4.. or am i even understanding this properly?

    thanks!
    ~nina
    It won't work in NN4. Just let it degrade nicely; I doubt anyone on NN4 would even notice it.


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
  •