Hi all,
Is there a simple hack to adjust certain styles? In some instances I
need to adjust padding and margin that act differently from IE6.
--
Regards
Karl
__
css-discuss [EMAIL PROTECTED]
On 22 Mar 2007, at 18:32, Karl Bedingfield wrote:
Is there a simple hack to adjust certain styles? In some instances I
need to adjust padding and margin that act differently from IE6.
There are a few. If you have a separate IE-only stylesheet, you can use:
selector {
property: value; /*
Thanks for the advice guys :)
So what do these 'hacks' actuall do@
/* trigger hasLayout and target ie5+6/win only */
* html #nav ul {
height: 1%;
}
/* trigger hasLayout and target ie7/win only */
*:first-child+html #nav ul {
min-height: 1px;
}
I am squite new to this and just wondered what
Philippe Wittenbergh wrote:
On Mar 24, 2007, at 3:06 AM, Karl Bedingfield wrote:
So what do these 'hacks' actuall do@
/* trigger hasLayout and target ie5+6/win only */
* html #nav ul {
height: 1%;
}
/* trigger hasLayout and target ie7/win only */
*:first-child+html #nav ul {