Tony didn't get any cake

  1. Home
  2. About
  3. Subscribe
  4. Archive
  5. Random

Tony didn't get any cake

Newer
Older
  • Horizontal Navigation bars in CSS

    I need to create a horizontal navigation bar for my site.

    This is how to do this with CSS.

    1. Create a CSS id for your nav bar and call it whatever you like e.g. #navbar

    2. Now give your nav bar some text colours or font properties

    3. Now identify what the list items in your nav bar will do - in this case I don’t want it to look like an ordinary list but want it to go straight across the page, so I make the rule for li then #navbar li { display: inline }

    4. I don’t want the links to have the blue text and underline so I define the #navbar li a as text-decoration: none

    these guys explain it well:

    http://www.bleepingcomputer.com/forums/topic55647.html

    Posted on April 6, 2009 with 16 notes
    1. -electronic-reader-book liked this
    2. wrappings liked this
    3. tonywall posted this
    Comments (View)
  • blog comments powered by Disqus
  • whatidone
  • throwing-myself-into-the-world
  • brilliant-at-whatever

Field Notes Theme. Designed by Manasto Jones. Powered by Tumblr.