Previous Message
Next Message

Why do I have to use this hack?

Sent by Steve Rinaldi on 28 January 2004 21:09


Hi,
 
I have figured out the hack to use but to be honest I do not know why I need
to use it and wondered if someone could expalin!
 
I am using the css code below for the position of an image.But if I use the
style without my hack the padding is incorrect when viewed in IE6 although
it view as intended in mozilla. When I add the hack the position is
rectified.
 
I wondered what is causing the padding to render incorrecty in IE6.
 
div.img-dec-r {
background: url(../images/img_background.gif) no-repeat bottom right;
clear: right;
float: right;
margin: 23px 23px 0 23px;
padding: 0;
position: relative;
}
 
/* \*/
* html div.img-dec-r  {margin-right: 12px;}
/* */
 
Thanks
Steve
 
 
 
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message