Topic: CSS links (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: 1393 |
posted 06-18-2005 02:21
I've noticed when designers are using css to make links a little more fancy they tend to use lists, or table cells... I was just goofing around making some links for a new site and came up with this. Just wondering if there is a reason designers don't do something like this (as far as I've seen). Is it totally breaking in browsers I'm unaware of, or maybe it's just nasty css? |
Maniac (V) Inmate From: under the bed |
posted 06-18-2005 02:49
Lists are used in most cases because a list is the proper semantic markup to use when presenting a list of links. Most such navigation setups are in fact lists in reality, so marking it up as such is just the proper way to go about it. |
Bipolar (III) Inmate From: Mpls, MN |
posted 06-18-2005 06:37
Well I did something similar, on my latest site, but offcourse used far to many <div>, but that's another issue. Perhaps a stupid question, but I have to ask, according my HTML 4.01 Guide, No other tags are legal with in a <li> tag. If this incorrect how do you place links to a list? I think I rember trying it and it was working but I was unsure as to the validity of such a technique. I missing something somewhere, are other tag valid within a <li>. |
Bipolar (III) Inmate From: 1393 |
posted 06-18-2005 07:00
Ahh... I see; that's exactly what I was wondering, thanks DL! |
Paranoid (IV) Inmate From: Cold Sweden |
posted 06-18-2005 12:47
quote:
quote:
|
Paranoid (IV) Inmate From: France |
posted 06-18-2005 15:48
jstuartj: quote: To do HTML4, the only suitable guide is the DTD of HTML 4. Actually to do anything based on SGML, the best guide is the DTD and the official recomandations of the W3C. |
Maniac (V) Inmate From: under the bed |
posted 06-18-2005 16:55
And of course, if in doubt - send it through the Validator and see what it has to say... |
Bipolar (III) Inmate From: Mpls, MN |
posted 06-19-2005 01:31 |