469,306 Members | 1,935 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

margin: auto not centering in IE

margin-left: auto; margin-right: auto; doesn't seem to be centering
tables in a webpage I'm working on, in IE. It does so in Opera, but
not in IE. Any ideas as to why? Or better yet, what I can do to fix
it?

Here's the URL:

http://www.frostjedi.com/terra/scrip...frontpage2.php
Jul 20 '05 #1
4 33940
yawnmoth wrote:
margin-left: auto; margin-right: auto; doesn't seem to be centering
tables in a webpage I'm working on, in IE. It does so in Opera, but
not in IE. Any ideas as to why? Or better yet, what I can do to fix
it?

Here's the URL:

http://www.frostjedi.com/terra/scrip...frontpage2.php


In Mozilla it is not centered as well. Do you have the container content
centered? That makes the margin left and right be the same. Else it is
often aligned left.

regards,

Roderik

--
http://www.archytas.nl/
webdesign, internet applicaties, internetgestuurde elektronica
Jul 20 '05 #2
Els
yawnmoth wrote:
margin-left: auto; margin-right: auto; doesn't seem to be
centering tables in a webpage I'm working on, in IE. It
does so in Opera, but not in IE. Any ideas as to why? Or
better yet, what I can do to fix it?


http://locusmeus.com/html-css/centeringpage.html

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Jul 20 '05 #3
yawnmoth wrote:
margin-left: auto; margin-right: auto; doesn't seem to be centering
tables in a webpage I'm working on, in IE. It does so in Opera, but
not in IE. Any ideas as to why? Or better yet, what I can do to fix
it?

Here's the URL:

http://www.frostjedi.com/terra/scrip...frontpage2.php


Try margin: auto
HTH

--
TK
www.wejuggle2.com
Still Having a Ball


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 20 '05 #4
On 8 Jul 2004 21:49:54 GMT, Els <el*********@tiscali.nl> wrote:
yawnmoth wrote:
margin-left: auto; margin-right: auto; doesn't seem to be
centering tables in a webpage I'm working on, in IE. It
does so in Opera, but not in IE. Any ideas as to why? Or
better yet, what I can do to fix it?


http://locusmeus.com/html-css/centeringpage.html


that did it - thanks! :)

thanks to everyone else who replied, too :)
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Erik Schulp | last post: by
reply views Thread by Alex Bell | last post: by
3 posts views Thread by Haines Brown | last post: by
5 posts views Thread by Duane Lambe | last post: by
13 posts views Thread by Raffi | last post: by
1 post views Thread by Sindbaad | last post: by
3 posts views Thread by John Pote | last post: by
5 posts views Thread by insomn3ak | last post: by
6 posts views Thread by Jeff | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.