Allison Kelly wrote:
> background: transparent url(test_07_082205_files/nav.jpg) 0 0
> no-repeat;}
>
> I decided to do it the way you did it, in the cover-up way, as
> opposed to text-indent or the others. But in my perusing, I didn't
> see the "transparent" anywhere. What does that do specifically?
It sets 'background-color' to "transparent" - no background color. Of
course: that is the default, but I usually declare it when using the
shorthand property 'background'. It's a "personal preference" thing.
It is especially important to have a "transparent" background when that
type of image-replacement is used. The background-color will otherwise
cover the text, and make the entire image-replacement useless if/when
images are not supported but CSS is.
> Also, I had used background-image: url("images/bgscreen.gif"); to
> set the background in my nav div, but the background-image: wouldn't
> work with the cover-up, I finally figured out I had to take the
> "-image" out. Maybe this is something normal that more experienced
> CSS-ers know, so please share the wealth!
Have to see the actual case to be sure what happened, but seen isolated
the 'background-image' property should work.
See:
<http://www.w3.org/TR/CSS21/colors.html#background>
...for details.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/