Hello people, this is my first post on this forum, looks like im in the right place though. My question is pretty straight forward. I want to create the same navigation as the one at http://www.cnn.com/ - here is what i got so far: http://www.crazy-ass.com/test.html
what other css do i need to use to make an exact replica of that navigation? thanks in advance for all your help!
Well, in that example of mine, you would first need to change the 'ul' height attribute, then both the 'li a' height and line-height (keep them both the same if you want the text to remain vertically centered), and in this particular instance, they will need to remain 4px smaller than whatever 'ul' height you specify, in order to retain the grey and white borders. You might also want to change the 'li a' padding to keep the text evenly placed within it's boxes.
i firgured it out, now the only thing i can't do is make the navigation bar spam the width of 874px. check the page it's updated with my css/html. thakns again xman!
Ok, a simple wee tweak you've missed there from my original- the "Login" box needs to have a class of it's own and a float: right; attribute. If you change your html to this: