Previous Message
Next Message

list bullets in any color.

Sent by John Lewis on 14 March 2005 18:06


On Mon, 14 Mar 2005 15:06:49 +0000, Victor NOAGBODJI [EMAIL-REMOVED]>  
wrote:

> Dear web designers,
> I'm seeking out a way to do the list bullets in a given color.
> Is there any way with css to get an image transparent, so that
> I can apply the color I want?

Not exactly. However, for a given element, its background-color value is  
visible where an image is transparent. The problem is getting it all to  
work. For example, you'd need to size the element to match the image's  
dimensions exactly (in all browsers), or the illusion would be broken.  
Also, unless I am confused, you would need a document with a solid  
background color (to match in the non-transparent part of your image). As  
if that isn't enough, you would probably need to use a bunch of <span>  
tags to style the images. It's just a mess (although technically possible  
IMO). You might be better off making a bunch of images in different  
colors, unless that isn't possible for some other reason. And I say that  
as someone who hates making little images.

> The other solution is to use ascii characters, but I predict that
> many computers won't have the same set of characters.

In my experience, ASCII characters are universally supported. Unless ASCII  
means something other than what I think it does in this context.

-- 
John Lewis
______________________________________________________________________
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:

Possibly related: