Re: background-color:transpare nt (Re: CSS beginner requests advice)
Stan Brown wrote:[color=blue]
>
> I want links to be the same color in different regions of the
> pages, but the different regions have different background colors.
> So I have a:link, a:visited, a:hover, a:active, and a[name]
> selectors with color and background, then the same five selectors
> as descendants of .maintitle, then the same five as descendants of
> h1, etc etc etc. I could sweep all that away and just have the five
> plain selectors for a, if "transparen t" were safe, but I think I
> read somwehere that it's not.[/color]
Correct, it is not safe. Using transparent can lead to the same
problems as not setting a background color at all.
--
Brian (follow directions in my address to email me)
Stan Brown wrote:[color=blue]
>
> I want links to be the same color in different regions of the
> pages, but the different regions have different background colors.
> So I have a:link, a:visited, a:hover, a:active, and a[name]
> selectors with color and background, then the same five selectors
> as descendants of .maintitle, then the same five as descendants of
> h1, etc etc etc. I could sweep all that away and just have the five
> plain selectors for a, if "transparen t" were safe, but I think I
> read somwehere that it's not.[/color]
Correct, it is not safe. Using transparent can lead to the same
problems as not setting a background color at all.
--
Brian (follow directions in my address to email me)
Comment