Originally Posted by Ian08
The regular way is to write:
PHP Code:
<div id="menu"> <h3>Main Navigation</h3> <ul> <li>Test</li> <li>Test2</li> </ul> </div>
And then use absolute positioning to throw <h3></h3> out of the screen if you don't want it to appear. The reason for using <h3></h3> is to let users know what the list stands for when their browser doesn't support CSS.
|
I both:
Disagree
1) Most menus are extremely obvious so having "main navigation" is a complete waste of time
2) Why are you wrapping it in a <div>? Waste of time + code
Agree
1) For some menu's, having a title does help;
however, if has to be there so people
without CSS can understand the page, it should be there for people
with CSS aswell. For example:
- Diablo
- WoW
- Starcraft
- Some other game
What is that a menu of? Who the hell knows, something about games. Too bad anyone with CSS will never know because the title "Games to be released this summer" heading is absolute positioned off the page (not so smart after all)
Now that I actually read what I wrote, I pretty much don't agree with you at all. If it needs a heading, it needs to be there both with and without CSS, whether it be normal text, image replacement, or an image with an alt description.