View Single Post
07-01-2008, 08:25 AM
#29
rochow is offline rochow
rochow's Avatar
Status: Member
Join date: Oct 2006
Location: Australia
Expertise:
Software:
 
Posts: 297
iTrader: 4 / 100%
 

rochow is on a distinguished road

Send a message via MSN to rochow Send a message via Skype™ to rochow

  Old

Originally Posted by Ian08 View Post
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.