Previous Message
Next Message

No hack I've tried gives OL its numbers in %$#@& IE6

Sent by Gunlaug_Sørtun on 10 September 2005 04:04

BJ wrote:

> <>

> I have tried what seems like almost every hack on this and can't get 
> the numbers to show in that list in the content section of the page.
The following is cross-browser:

..content ol {
	width: 80%;
	margin: 0 auto;
padding-left: 32px;

..content ol li {
	padding-bottom: 7px;
	border-bottom: 1px solid #f9f8f8;

1: don't apply any 'hasLayout' trigger on li-- no width or zoom, as that
will corrupt the counter in IE.
2: define a suitable padding-left on ol for the numbers to sit on.


PS: mind your language -- IE6 is sensitive ;-)
css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: