Previous Message
Next Message

Re: [css-d] Stupid css tricks

Sent by Craig Saila on 31 January 2002 13:01


[EMAIL-REMOVED] wrote:

>> BODY { background-color: #FF0; }
>> HTML>BODY { background: url("white.gif") transparent; }
>>
> Um, not quite. It's dropping it in some of the good browsers, too. Oh,
> well.

Turns out I picked the wrong tags! E.g., this worked for me on Opera, IE 
5/Mac, Mozilla but not IE 6/Win:
  BODY { background-color: #FF0; }
  BODY>DIV { background: url("white.gif") transparent; }

I think IE 5/Mac just doesn't recognize HTML as a element that can be 
styled.

-- 
Cheers,

Craig Saila
------------------------------------------
[EMAIL-REMOVED]  :  http://www.saila.com/
------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Previous Message
Next Message

Possibly related: