quote:
Originally posted by rav0
Also, the method that Madman posted is entirely correct
I didn't say it was wrong.
quote:
Originally posted by rav0
and does not need a stylesheet, it can be applied directly to the element, although if you already have a stylesheet, it will most likely be easier to add it to the stylesheet.
The syntax used by Madman IS for stylesheets, it is not standard basic HTML. Note that you still use a "stylesheet" so to speak, even if you put the elements directly into the tags.
Styles can be applied in a seperate file, in an inline sheet or directly to elements. Though, all methods activate the use of styles, which isn't basic HTML anymore.
And that was my whole point of the post. The HTML syntax is to use "type=" which is compatible to the lowest version of HTML. So you do not need to revert to using styles and the new syntax at all, which will only be compatible with browser where stylesheets are enabled and are reconized (though, now almost all do of course).
Of course, if you already have a stylesheet, or already using other styles, by all means use the new method. But my point is that you do not explicitly need to use this new style just only for this. In general, basic HTML can do far more than what is believed (and often renders quicker also, not to mention it is far more compatible.)
quote:
Originally posted by rav0
PS CookieRevised, you've posted il instead of li in your first example.
oops... fixed... thanks.