Starting a list at zero
How would I make a list (<ol>, <li>) that starts at zero and not one? I'm no
good with the CSS autonumbering stuff.
Essential Tools for the Web Developer - http://mikewilcox.t35.com
mjwilco at yahoo dot com
Re: Starting a list at zero
"Michael Wilcox" <mjwilcoCANTHAVESPAM@yahoo.com> wrote:
> How would I make a list (<ol>, <li>) that starts at zero and not one?
<ol start="0">, or <li value="0"> in the first <li> element. But some old
browsers don't get it right but start at 1 anyway. To stay on the really
safe side, make the numbering part of the <li> element contents, and use
<ul> together with list-style: none in CSS.
> I'm no good with the CSS autonumbering stuff.
Neither are most of us, but the worst thing is that major browsers like IE
haven't implemented it.
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
|All times are GMT. The time now is 12:34 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.