On Tuesday, November 14, 2006 8:14 AM ReynierPM said:
.header_b
{
display: inline;
}
So I need to change it to block in IE. Can any help me with this?
Cheers and thanks in advance
Within CSS you can do the following to apply styles to IE only. (This
hack may be fixed in IE7 not
I'm newbie using jQuery. I want to make a function for do some changes
when a page load. I need to change some properties for CSS when the
browser is IE. For example my CSS contains this rules:
.header_b
{
display: inline;
}
So I need to change it to block in IE. Can any help me with
On Nov 14, 2006, at 12:07 PM, Chris W. Parker wrote:
Within CSS you can do the following to apply styles to IE only. (This
hack may be fixed in IE7 not sure.)
.header_b
{
display: inline; /* non-IE */
_display: block; /* IE only */
}
Adding a '_' to any style makes all non-IE
On Tuesday, November 14, 2006 10:33 AM Karl Swedberg said:
I think the preferred method for targeting a browser for certain
style rules is to include your main stylesheet first in the head
element and then use conditional comments to include browser-specific
stylesheets.
[snip]
Thanks for
Thanks for reply Karl. Let me see if I understand the thing you try to
said me. First if I do this:
.header_b { display:block }
this only be interpreted by IE and others browsers, but If I do this in
the same style
#div_header .header_b { display: inline }
then this will be read by any browser !=
ReynierPM schrieb:
Thanks for reply Karl. Let me see if I understand the thing you try to
said me. First if I do this:
.header_b { display:block }
this only be interpreted by IE and others browsers, but If I do this in
the same style
#div_header .header_b { display: inline }
then this will
On Nov 14, 2006, at 3:03 PM, Klaus Hartl wrote:
Better not use it! Why?
The short answer: Just don't do it.
The longer answer:
You are targeting browsers that still get developed further with that
hack, e.g. IE 7. IE 6 and below do not support advanced CSS2 selectors
like the child
Karl Swedberg schrieb:
That being said, we are in complete agreement that the superior
solution is to use conditional comments.
Quirksmode is also a good resource for this:
http://www.quirksmode.org/css/condcom.html for more
Yes, I forgot to say that I agree with *you* on that, because you