[EMAIL PROTECTED] wrote:
> In Quirks Mode, for IE 6, is it possible to get an image to have padding
> of 10px around, and then a border of 1px without using extra markup such
> as a <div> or <span> around the image?
>
> <img src="picture.jpg" with="200" height="200" class="img-border">
>
> .img-border {
> padding: 6px;
> border: 1px solid #777;
> }
>
> Is it posible to get this to work in IE 6, in Quirks Mode? I Googled a
> bit, and most if not all examples required extra markup around the <img>
> with the border applied to it.
>
> David's Post (Nov. 2005)
> http://archivist.incutio.com/viewlist/css-discuss/81616
>
> David's Example page:
> http://www.chelseacreekstudio.com/ca/cssd/border-test.html
> - does not work in IE Quirks Mode as noted
>
> Francky posted a "working" version:
> http://home.tiscali.nl/developerscorner/css-discuss/test_qrk.htm
> - this requires the extra <span> to work, which is not an option for me
>
> I am pretty sure I am out of luck, can anybody confirm or point me to a IE
> miracle filter/hack...that doesn't require any extra markup?
>
I'm pretty sure you're out of luck too. :-) I remember trying to get
this effect to work in IE 5.x, and it was impossible without extra
markup. I doubt there's anything you can do.
Zoe
--
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
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/