C
Chris Harris
I am working on a page that has a background graphic which acts as a left
border. It is a stylized map. I am putting the menu over this using a UL
modified by CSS. I want the acheive the effect of having a colored menu with
rollover etc.. But I want the colors to be transparent so that the graphic
shows through.
I have acheived this by using a png graphic as the background color. I made
10px x 10px graphics and set the transparency. I load these as the
background for the menu items using "background: url(image.png) ", which
works fine.
But is there a way to define a transparent color using CSS alone?
Be nice if there was as it would save loading three graphics, even if they
are tiny little things of 140 bytes.
CJH
border. It is a stylized map. I am putting the menu over this using a UL
modified by CSS. I want the acheive the effect of having a colored menu with
rollover etc.. But I want the colors to be transparent so that the graphic
shows through.
I have acheived this by using a png graphic as the background color. I made
10px x 10px graphics and set the transparency. I load these as the
background for the menu items using "background: url(image.png) ", which
works fine.
But is there a way to define a transparent color using CSS alone?
Be nice if there was as it would save loading three graphics, even if they
are tiny little things of 140 bytes.
CJH