Web Hosting Talk







View Full Version : Center page


iFuseDavid
11-11-2006, 01:30 PM
I got a page with lists and I want it centered on the page. I just want the whole list to be centered on the page not the individual list items. Is there away to do this without putting the list in a table?

Also, I got another page with a table and when I <div align=Center> the table aligns center in FF but not IE. Any ideas?

Templatesman
11-14-2006, 10:15 AM
try use html tab <center> </center> simple but it can be

the_pm
11-14-2006, 10:30 AM
Try placing the following in your style sheet:

ul { margin:auto ; width:###px }

As long as you're serving a valid doctype, IE will recognize what you're doing and act accordingly.

jayweb
11-15-2006, 06:55 PM
There is no reason why <div align="center"> should not work in IE. Thats strange.

Its much better to use your stylsheet anyway though.

Gxds
11-15-2006, 07:15 PM
Use <center> in html and then if you just style the rest in css. for example text-align: left; for the content blocks.