Sent by Jan DeVries on 11 March 2005 22:10
Hi Pawel,
I am using xhtml strict... but u got me thinking.... i took out the
<?xml ... ?> header. that did it.
i remember now that WINIE6 goes into quirksmode with the xml headre.
ther should be nothing befor the ddt...
thanks,
jan
On Mar 11, 2005, at 10:35 PM, Pawel Knapik wrote:
> On Fri, 11 Mar 2005 21:38:21 +0100, Jan DeVries
> [EMAIL-REMOVED]> wrote:
>> Hi,
>> I am trying to add a few px padding to a images to offset the border a
>> bit from the image like so
>> img {padding: 4px; border: 1px solid silver;}
>> that works well on Mac in Saf en IE but the padding does not show in
>> WINIE5&6....
>> Is this a well known bug or am i doing something wrong?
>> Jan
>
> Padding for images works in win IE6 standards mode, so probably you
> are testing it in IE6 quirks mode.
> Earlier versions of Explorer use incorrect box-model, and padding is
> added inside the block element. If switched to stanards mode Explorer
> 6 will render your style as intended.
>
> Here's something about doctype switching:
> http://www.ericmeyeroncss.com/bonus/render-mode.html
>
>
> Pawel.
>
>> ______________________________________________________________________
>> css-discuss [EMAIL-REMOVED]]
>> http://www.css-discuss.org/mailman/listinfo/css-d
>> List wiki/FAQ -- http://css-discuss.incutio.com/
>> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>>
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/