473,322 Members | 1,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 34164
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 vão. 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Erik Schulp | last post by:
Hi all, I am trying to get a CSS defined layout to center on the page, have tried doing this with the <center></center> tags but than everything is centered, including text etc etc. What...
0
by: Alex Bell | last post by:
Thanks to the people who helped me with centering a block of text in MSIE 5.5 in the site I am developing at http://www.members.iinet.net.au/~abell1/test/index.htm with city.css at...
3
by: Haines Brown | last post by:
I thought I had understood this issue and implemented a work around, but now when I check on IE5, it is not working: ... #IE-hack { margin-left: auto; margin-right: auto; width: 20em;...
5
by: Duane Lambe | last post by:
Hi - just a quick question, I hope it's simple enough that a visual example isn't required. I have an internal site, everything's the way I want it, but there's an anomoly in both Opera and...
13
by: Raffi | last post by:
Hi, We have an application that requires IE. We recently incorporated CSS scroll areas. The scroll fields are supposed to be centered. They are except for IE5 for the Mac. I have tried various...
1
by: Sindbaad | last post by:
Hi All, I am using couple of controls on the form. I want the controls to be in the center of the form when I change the size of the form in run time. Any thoughts. Thanks in Advance.
3
by: John Pote | last post by:
1. Horizontal centering a <divin browser window. The current trend seems to be to place page content in a fixed width area in the middle of the browser window. How is this achieved? If I use a...
5
by: insomn3ak | last post by:
I'm having some issues with the layout of my container div. In firefox 2.0 its working normally, but in IE7 everything is pushed to the left. Here is the website. Ideally the header would stay...
6
by: Jeff | last post by:
Updating my bag of tricks again. What's the level of support for margin: auto. Is this widely supported now amongst almost all browsers? It's a common request to have a "centered" page. I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.