[thelist] css percentages

Anthony Johnston - Antix tech at antix.co.uk
Tue Feb 25 11:21:01 CST 2003


>The box model used by IE PC 5.x is wrong.

not wrong - just before its time,  will be in css3
Ant. ;)

ps. thanks for the links will try them now.

>-----Original Message-----
>From: thelist-admin at lists.evolt.org
>[mailto:thelist-admin at lists.evolt.org]On Behalf Of Geoff Sheridan
>Sent: 25 February 2003 15:41
>To: thelist at lists.evolt.org
>Cc: Anthony Johnston - Antix
>Subject: RE: [thelist] css percentages
>
>
>At 12:02 pm +0000 25/2/03, Anthony Johnston - Antix wrote:
>>is there a dtd which will make netscape/opera adhere to the box
>>model with internalized borders, as IE does by default?
>
>No. The box model used by IE PC 5.x is wrong, according to the W3C
>specs. You can get IE5.x to display the boxes correctly using the
>hacks I suggested earlier:
>http://css-discuss.incutio.com/?page=BoxModelHack
>You cannot easily get all the other browsers to display it wrong.
>
>IE6 PC displays the box model correctly (external borders) when using
>a valid recent doctype.
>
>As for two 50% boxes with borders, try:
>http://www.premonition.co.uk/cssd/borders-test.html
>
>(four solutions - depending on your real-world application there are
>likely to be many more possible)
>
>Geoff




More information about the thelist mailing list