![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
On 2008-09-12, Helpful person wrote: 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? It wouldn't work if CSS was turned off or if the browser didn't support CSS. |
#12
| |||
| |||
|
|
On Sat, 13 Sep 2008 07:29:34 +1000, dorayme doraymeRidThis (AT) optusnet (DOT) com.au> wrote: 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? I have both the date and the number of the item. The number of the item is relevant and needs to be part of the list. I'm just going to leave it all as a transitional doctype. |
#13
| |||
| |||
|
|
It wouldn't work if CSS was turned off or if the browser didn't support CSS. True, but what percentage of users have CSS turned off or are using a browser that doesn't support it? Statistically, I'm guessing it's effectively zero. |
#14
| |||
| |||
|
|
Chris F.A. Johnson wrote: On 2008-09-12, Helpful person wrote: 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? It wouldn't work if CSS was turned off or if the browser didn't support CSS. True, but what percentage of users have CSS turned off or are using a browser that doesn't support it? Statistically, I'm guessing it's effectively zero. |
#15
| |||
| |||
|
|
I have both the date and the number of the item. The number of the item is relevant and needs to be part of the list. I'm just going to leave it all as a transitional doctype. |
|
I find it bizarre that they took this out for 4.01 and have it back in again for 5.0. |
#16
| |||
| |||
|
|
I have both the date and the number of the item. The number of the item is relevant and needs to be part of the list. |
#17
| ||||
| ||||
|
|
some old html fumbler wrote: I have both the date and the number of the item. The number of the item is relevant and needs to be part of the list. I'm just going to leave it all as a transitional doctype. As I said earlier, if this is a new page then use strict. Don't change your doctype just because you have one error, and a very minor on at that. It is not that you page will refuse to display or blow up! |
|
All your doing is using a deprecated attribute which means is *may* not be supported in future browsers, but in practice it hasn't happened, except for NN's layer, but look embed is still supported. |
|
I find it bizarre that they took this out for 4.01 and have it back in again for 5.0. |
|
Again, 5.0 is still a pipe dream, I hazard a guess that the only reason its return is being considered is due to MSIE's piss-poor CSS support. Maybe MS will finally step up to the plate, or better yet die a beautiful death...buried by other better options of Firefox, Opera, Safari, Chrome and other to follow! |
![]() |
| Thread Tools | |
| Display Modes | |
| |