Click to See Complete Forum and Search --> : Table not centered...??


deep
06-21-2005, 09:01 AM
Hi,

I use <div align="center"> to center all my tables. This works fine using IE, but when I change to Firefox the centered table moves maybe 10 pixels left/right depending on what page I got showing....

So if im using firefox and visiting main.php the site looks good (centered), then i go to main.php?page=other_page wich is also centered because main.php is including the info from other_page BUT NOW the page moves like 10 pixels left/right so it makes it really irritating browsing the website....... its not 100% centered :(

Anyone know how to solve this problem??

Fang
06-21-2005, 09:06 AM
Is the scrollbar visible in all pages?

deep
06-21-2005, 10:08 AM
oooh!! no its not! And I noticed that the pages with scrillbar are not centered as the once without! :)

How can this be fixed?

Thanks!

byeee
06-22-2005, 12:36 AM
Well some pages aren't big enough to use a scrollbar. I don't know exactly how you solve that, I know how to do it with frames, but I don't think you use frames.

Fang
06-22-2005, 12:50 AM
This will force a scrollbar:
body {overflow:-moz-scrollbars-vertical;overflow-y:scroll;}