Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Novel embraces Microsoft



On 08/11/06, Godwin Stewart <godwin.stewart@example.com> wrote:

Some things can't be worked around (see below)

Sure they can, just hack harder. :)

> * html div#main-logo {
> background: transparent;
> filter: {snip}

"transparent" isn't a valid value for the background in CSS and it
breaks the W3C validation.

So use something very much like the box model hack:

http://tantek.com/CSS/Examples/boxmodelhack.html

Set the CSS property to the invalid one that works for IE, then
override it in what IE treats as a comment. Standards-compliant
browsers then get their standards-compliant CSS, and IE gets what it
deserves. ;)

-Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links