![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In HTML after the first couple of months I just use this sort of code: ol start="14" type="1"> and go on. Any suggestions? |
#3
| |||
| |||
|
|
I want to use CSS to get an ordered list to start with something other than a 1 or equivalent. I have a list of things that happen during the course of a year. Too long a list is not helpful, so I only show maybe 3 months of items at a time. The items have to be ordered according to the year, IOW I can't list something in April as being #1. In HTML after the first couple of months I just use this sort of code: ol start="14" type="1"> and go on. I see that the "start" attribute is deprecated in HTML 4.01. I don't know what to plug into my css stylesheet to get an ordered list to start at a number I designate. Any suggestions? |
#4
| |||
| |||
|
|
On Sep 12, 9:38 am, some old html fumbler <fumb... (AT) nospam (DOT) invalid wrote: I see that the "start" attribute is deprecated in HTML 4.01. I don't know what to plug into my css stylesheet to get an ordered list to start at a number I designate. Any suggestions? You could also set a class to {display: none} in the CSS and include the obsolete lines in this class. I think this would work. Anyone know for sure? |
#5
| |||
| |||
|
|
.... ol start="14" li>If you want IE support and live with the deprecated attribute</li li>Fee</li li>Fie</li li>Foe</li li>Fum</li /ol /body /html |
#6
| |||
| |||
|
|
On Fri, 12 Sep 2008 10:53:10 -0400, "Jonathan N. Little" .... ol start="14" li>If you want IE support and live with the deprecated attribute</li li>Fee</li li>Fie</li li>Foe</li li>Fum</li /ol /body /html Oh, IE won't even see it if I were to do accomplish it in CSS then? *SIGH* I guess those pages just are never going to validate as HTML 4.01 strict then. I may as well just leave it transitional. Thanks. |
|
And yet the "start" attribute is back for HTML 5.0 from what I see! What a world. |
#7
| |||
| |||
|
|
Helpful person wrote: On Sep 12, 9:38 am, some old html fumbler <fumb... (AT) nospam (DOT) invalid wrote: I see that the "start" attribute is deprecated in HTML 4.01. I don't know what to plug into my css stylesheet to get an ordered list to start at a number I designate. Any suggestions? You could also set a class to *{display: none} in the CSS and include the obsolete lines in this class. *I think this would work. *Anyone know for sure? Huh? Are you suggesting using 'display: none' to "hide" the deprecated attributes 'start="14" type="1"'? Then no, absolutely not, it would just prevent the OL from displaying altogether. -- Take care, Jonathan ------------------- LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com |
#8
| |||
| |||
|
|
On Sep 12, 9:38*am, some old html fumbler <fumb... (AT) nospam (DOT) invalid wrote: I want to use CSS to get an ordered list to start with something other than a 1 or equivalent. I have a list of things that happen during the course of a year. Too long a list is not helpful, so I only show maybe 3 months of items at a time. The items have to be ordered according to the year, IOW I can't list something in April as being #1. In HTML after the first couple of months I just use this sort of code: ol start="14" type="1"> and go on. I see that the "start" attribute is deprecated in HTML 4.01. I don't know what to plug into my css stylesheet to get an ordered list to start at a number I designate. Any suggestions? You could also set a class to {display: none} in the CSS and include the obsolete lines in this class. I think this would work. Anyone know for sure? |
#9
| |||
| |||
|
|
I want to use CSS to get an ordered list to start with something other than a 1 or equivalent. I have a list of things that happen during the course of a year. Too long a list is not helpful, so I only show maybe 3 months of items at a time. The items have to be ordered according to the year, IOW I can't list something in April as being #1. |
#10
| |||
| |||
|
|
In article <ukrkc45529k2ssh9btk241a9qag6ctjrjd (AT) 4ax (DOT) com>, some old html fumbler <fumbler (AT) nospam (DOT) invalid> wrote: I want to use CSS to get an ordered list to start with something other than a 1 or equivalent. I have a list of things that happen during the course of a year. Too long a list is not helpful, so I only show maybe 3 months of items at a time. The items have to be ordered according to the year, IOW I can't list something in April as being #1. So do the most straightforward thing you can do in this situation and use simple HTML and simple CSS that is cross browser and cross earthling win-win. Use a two column table in which the column on the left holds the numbers. In fact why would you be wanting to have numbers when you can have the date itself and be utterly clear? |
![]() |
| Thread Tools | |
| Display Modes | |
| |