At 02:31 PM 1/12/2006, Thomas Hall wrote:
>Maybe a stupid question but why won't this center in the page:
>
>
>
>
>
>
>
>
>
>Test
>
>
>
>
>
>
Are you using a valid DOCTYPE? Which browser?
The following works fine for me (colors added to see what's going on) in MSIE6:
http://www.w3.org/TR/html4/
On 12/01/06, Thomas Hall <[EMAIL PROTECTED]> wrote:
> Maybe a stupid question but why won't this center in the page:
>
What browser(s) are you testing in? Since you have no Doctype, IE will
be in Quirks mode and won't respect auto margins.
http://dorward.me.uk/www/centre/#ie
Also, while the l
Maybe you should tell it, to do so?
>
greets,
thomas
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.e
Thomas Hall wrote:
>Maybe a stupid question but why won't this center in the page:
>
>
>
>
>
>
>
>Test
>
>
>
>
>
>
>
>
It is actually centred.
If you add border:1px solid; to the style then you will see that the
800px wide box is centred on the screen. It just *looks* as though the
word is
Maybe a stupid question but why won't this center in the page:
Test
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by