Posted by dorayme on 11/20/06 00:05
In article <4560e073$0$5589$9a6e19ea@unlimited.newshosting.com>,
Bundy <bigbadbundyREMOVETHIS@vfemail.net> wrote:
> Hi
>
> I cannot centre the following page in firefox browser. It does work in
> internet explorer.
>
> CSS (in external file - testcssglobal.css)
>
> body {
> text-align: center;
> margin: 0px;
> padding: 0px;
>
> }
>
> #global {
> position: relative;
> width: 800px;
> text-align: left;
> }
Try instead of all the above:
body {margin:0;padding:0;}
table {margin:auto;}
(given your html... thought better to put the styles for the
table in the css...)
--
dorayme
Navigation:
[Reply to this message]
|