Previous Message
Next Message

OL problem, need help

Sent by Philippe Wittenbergh on 30 July 2004 04:04


On Jul 30, 2004, at 11:56 am, Porter Glendinning wrote:

> At 10:04 PM 7/29/2004, glimmerman digitized these thoughts:
>> Can someone please tell me why my ordered list does _not_ become 
>> numbered as it should? Details including URLs to CSS and HTML found 
>> here:
>> <http://glimmerman.net/cms/weblog.php>
>
> Don't really have time to get in and debug out why, but the problem 
> seems to be the "display: block" in your "#main li" rule set. Removing 
> that causes the numbering to appear for me without changing anything 
> else.

If you set a li to {display:block}, obviously it doesn't have 
{display:list-item} anymore, which is how the list numbering is 
generated in Gecko (and Safari, and Opera).
display:list-item is functionally equivalent to display:block, except 
for generating list numbering or bullets and leaving a space in front 
for that list number/bullet.

PS - weird use of <fieldset> and <legend>.

Philippe

---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: