On Fri, 24 Sep 2010 10:05:40 +0100, Geoff Lane <[email protected]> wrote:

On Friday, September 24, 2010, 9:52:45 AM, Alan Gresley asked whether
the markup was OK for HTML 4.01 Strict.
---

Unfortunately not. I have to confess to being a naughty boy and using
deprecated attributes in the HTML! One day I'll learn enough about CSS
to be able to do away with them, but for now I need to get this one
document out by the beginning of next week and so I'll have to leave
that for a later date!

That said, I appreciate the pointer to some very good reasons to get
away from 4.01 Transitional as soon as possible!

Many thanks,

Even a fully qualified transitional Doctype should trigger Standards Mode in IE

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
and so give you the benefit of stability (predictability?) on your pages.


As you are adding the section numbers manually, Thierry's CSS example should work just as well on a <ul> where all you need to do is cancel the bullet default with
list-style-type: none;
I can't say it will improve semantics or give other benefits other than it might make your code easier to prepare and edit thanks to the separation from the li's.

Duncan
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to