On Sat, 10 Nov 2007 16:46:52 -0800, Anthony Ettinger wrote:
> I have a logo.png that I want to put ontop of a gradient background with css. 
> The
> problems are:
>
> 1) .png transparency isn't supported in IE6

It depends what you mean by this. Single-color transparency in PNG-8
is well supported across browser-land, including even older IE versions.
It is even possible to combine one-color transparency for IE 5/6 with
alpha transparency for more modern browsers[1].


> 2) if I apply the gradient used on the <div id="logo"> banner (the logo.png's 
> parent),
> then when I use relative padding/margin the logo will shift based on client 
> font size.
>

It is possible to size the logo itself using CSS relative values. You
just have to be extra careful preparing your image, making it bigger
and of better quality than usual, and testing it at various magnifications.

A lot depends on your particular design. As always, design is a matter
of compromise. In all fields of endeavor.

[1] <http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/>

Cordially,
David
--

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to