2 replies [Last post]
pech
Offline
Last seen: 3 years 7 weeks ago
newbie
Timezone: GMT+2
Joined: 2010-03-31
Posts: 2
Points: 3

Hey,
I have problems with the layout of my website,
My intension is to center all,
In Firefox everything looks fine,
in IE the main container and logo are positioned left.
I am a newbee, can somebody please help me to get my content centered in the middle??
Here is the website:
http://www.smeetslaswerken.be

pech
Offline
Last seen: 3 years 7 weeks ago
newbie
Timezone: GMT+2
Joined: 2010-03-31
Posts: 2
Points: 3

Now got it centered in IE but

Now got it centered in IE but in Firefox it looks not good.
What do I have to change?

Tony
Tony's picture
Offline
Last seen: 1 hour 9 min ago
Moderator
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 4632
Points: 2161

Have you read this:

Have you read this: http://csscreator.com/node/308

body{text-align:center;} /*IE */
#container{
  margin-left:auto; 
  margin-right:auto; 
  text-align:left; /* bring text back */
}