Re: unordered list style
by Charles A Upsdell <cupsdell(at)upsdell.com>
|
Date: |
Fri, 18 Apr 2003 14:13:12 -0400 |
To: |
hwg-basics(at)hwg.org |
Cc: |
Dave Lohr <dlohr(at)weddingchannel.com> |
In-Reply-To: |
|
|
todo: View
Thread,
Original
|
|
Yes, but unfortunately the standards leave the details up to the browser
maker, hence different CSS is needed for different browsers. To be
specific, different CSS is needed for IE4, IE5/6, Opera, and the
Gecko-based browsers.
Here is what I use:
For Opera 7:
ul { list-style-position:outside; margin:0.7em 0px 0px 0px; }
ul li { margin:0px 0px 0px 1.5em; padding:0px 0px 1.0ex 0px; }
For older versions of Opera:
ul { list-style-position:outside; margin:0.7em 0px 0px 0px; }
ul li { margin:0px 0px 0px 0px; padding:0px 0px 1.0ex 0px; }
For IE4:
ul { list-style-position:outside; margin:0.7em 0px 0px 0px; }
ul li { padding:0px 0px 0.5ex 2.5em; }
For IE5 and IE6:
ul { list-style-position:outside; margin:0.7em 0px 0px 0px; }
ul li { margin:0px 0px 0px 2em; padding:0px 0px 1.0ex 0px; }
For Gecko-based browsers:
ul { list-style-position:outside; margin:0.7em 0px 0px 0px; }
ul li { margin:0px; padding:0px 0px 1.0ex 0px; }
[] HTH, Chuck Upsdell
At 01:41 PM 04/18/03, you wrote:
>Is there a way to specify the spacing between the the bullet and the text
>using styles on Unordered Lists?
>
>Thanks
>
>Dave L
-
Chuck Upsdell
Email: cupsdell(at)upsdell.com
Website: http://www.upsdell.com/
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA