C
Chris Ramsay
I have noticed that the CSS display:table attribute is not supported by
IE7 - is there a workaround/hack for this?
IE7 - is there a workaround/hack for this?
Chris said:I have noticed that the CSS display:table attribute is not supported by
IE7 - is there a workaround/hack for this?
Chris said:Chris Ramsay wrote:
height: 1%;
Be advised that this will have different results in IE6 (and prior
versions) from other browsers, including IE7.
Try using zoom:1 instead of the height property. It's a proprietary MS
property and usually gives the same results, plus it does not negatively
affect other browsers.
Michael said:.oO(Bergamot)
The stylesheet won't be standards-compliant anymore.
With a CC you can
easily include an IE-only stylesheet without tainting the others.
Bergamot said:So what? Passing validation is a worthy goal, but is not the be-all and
end-all. There is nothing wrong with using proprietary properties if you
know what you are doing. That's not in the same category as exploiting
parsing errors, if that's what you're thinking.
Spartanicus said:validation is only a tool that may be of some help to
beginners to discover basic syntax errors.
You'd rather taint the HTML on all pages with IE-specific bloat? :-\
Bergamot said:Beginners aren't the only ones that might benefit from that. The only
time I run my stylesheets through the validator these days is if I have
a rendering problem and can't find the cause right away. The validator
is handy for finding things like colons that should be semi-colons and
other typos.
Spartanicus said:from what doesn't work a developer should know exactly where to
look in his code.
Spartanicus said:I'd go further, validation is only a tool that may be of some help to
beginners to discover basic syntax errors. But there is no intrinsic
value in CSS that "validates". Most competent developers never check
their CSS with a syntax checker, ergo nothing is lost by their code not
passing a dumb bot check.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.