Pete Lasko wrote:
> If you view http://www.yammr.com/padding.html in IE, you will see  
> that the image has no padding. Is there a workaround for this?  
> Unfortunately due to some DOM bugs I can't get figured out I can't  
> use a strict doctype for IE. I can easily put a div around the image,  
> but wondered if anyone had the skinny on this. Here is a strict  
> version: http://www.yammr.com/padding-strict.html
>
> Thanks
> Pete
>
>   
I asked the same thing several weeks ago. This works in /most/ but not 
necessarily all situations in quirks:
Add these rule sets to your css and open and close the img with span in 
the markup.
* html span {border: 1px solid #FF0068;}
* html img {border: 10px solid #000;}
<span><img src="http://www.yammr.com/images/logo.gif"; alt="" /></span>
Best,
~dL
PS AFAIK it can't be done without the span.


-- 
http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to