jz_design — 2010-02-04T20:27:08-05:00 — #1
I'm currently re-designing my site, and i want to put a horizontal navigation menu in the header.
I know that it's best practice to put navigation in a list. And I also want to use CSS sprites and CSS image replacement for the navigation menu icons.
But when I use display:block to get rid of the text with text-indent:-9999px, it overwrites the display:inline that makes the menu horizontal.
What's the solution?
kohoutek — 2010-02-04T20:30:20-05:00 — #2
You can float your li elements.
jz_design — 2010-02-04T21:17:38-05:00 — #3
Haha, i feel dumb, thank you.