Click to See Complete Forum and Search --> : Question on Semantics


Paul Jr
03-06-2004, 12:08 PM
In my wanderings I happened upon Spufi's Website (http://www.matts-website.net/). I was wondering, how semantically correct/meaningful is the menu? Look at his menu with CSS turned off, and I think you'll see what I mean. Would the use of <h1-6> tags be more sematically correct/meaningful?


P.S., Spufi, if you read this thread, no offense intended whatsoever. Just trying to clear things up for my muddled mind. :p

Vladdy
03-06-2004, 12:25 PM
<hN> is for headings within the content, so it does not really apply to the menu. Menu is a (nested) list of links, so Spufi's implementation is correct.

Paul Jr
03-06-2004, 12:29 PM
Alrighty then, thanks for clearin' that up. :D

Sam
03-06-2004, 01:44 PM
perhaps he already changed it, but the w3 validator outline (http://validator.w3.org/check?uri=http://www.matts-website.net&verbose=1&outline=1) seems to look alright...

spufi
03-06-2004, 02:14 PM
First of all, the code is taken from the default code generated by Word Press's blogging tool I use, so I wouldn't give me too much credit for the markup. :-)

I have changed over the CSS quite a bit and I need to change over how some of the code is generated to add some more changes to my CSS.

The way they do the menu code is kind of a love/hate thing for me. In one respect, I understand why they use nested lists, but it's also a pain to work with in terms of the final idea I have for the layout. I want to use relative positioning and a different colored background on the menu headings, but as soon as the headings are shifted to the side of the links, the background for the heading is exposed because it wraps around the links. I'm going to change the menu headers to header tags so it frees me up to do what I want to.

I think both sides(nested lists vs. list with headers) could support their way rather well. I just like header tags with list because it gives me more freedom in my design.

Paul Jr
03-06-2004, 04:48 PM
Ahhh, that clears things up real good. Thanks! :)