KBD

Keith Devens .com

Friday, September 5, 2008 Flag waving
Premature abstraction is an equally grevious sin as premature optimization. – me
← LinkblogObama Truth Squad →

Daily link icon Wednesday, July 28, 2004

Alternate list-style-types

Why is there no way to specify alternate list-style-types?? You can specify alternate fonts in case a font isn't supported on the client, but you can't specify an alternate list marker. Frustrating! I wanted to use Hebrew or Chinese list markers, which work great in Mozilla, but IE defaults back to using plain numbers. I'd rather have a plain square instead of that, so I'm forced to use squares instead of cooler markers.

← LinkblogObama Truth Squad →

Comments XML gif

E.T. (http://www.stk.cz/en/) wrote:

i thing that possible - but difficult - way is to define it via images FO: .menu li {list-style-image: url("http://www.portalstm.cz/stm-small.gif"); line-height:1.6; margin:0; padding:0;
padding-left: 3pt;}

∴ E.T. | 29-Jul-2004 7:51am est | http://www.stk.cz/en/ | #5116

Keith (http://keithdevens.com/) wrote:

You misunderstood me. I know it's possible to specify an image for the "bullet" (marker). What I was saying is that if the user agent (browser) doesn't support a marker type (such as Hebrew), there's no way to say "Ok, you don't support Hebrew list markers? Fall back to using 'square' list markers." Unlike with fonts, where you can say "Oh, you don't support Verdana? Fall back to Arial, and if you don't support Arial, fall back to 'sans-serif'", there's no way to specify the fallback for list markers.

Keith | 29-Jul-2004 11:37am est | http://keithdevens.com/ | #5120

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

September 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

new⇒I hate ASP.NET

Agree.

You can add VS to the​list....

graffic: Sep 5, 5:15am

new⇒Girls, please don't get breast implants

Well alright I just read my above​comment and I wanted to add​this...I shou...

76.66.140.8: Sep 4, 7:31pm

new⇒Spider solitaire

I don't think the question was​necessarily if there are unbeatable​games.  ...

Jared: Sep 4, 12:44pm

Convert Pantone Colors to RGB and Hex - Color Conversion Chart

The colors on those website don't​seem to relate to the pantone data​we hav...

blah: Sep 3, 10:12am

Generated in about 0.203s.

(Used 8 db queries)

mobile phone