2 replies [Last post]
pech
Offline
newbie
Last seen: 4 years 25 weeks ago
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
newbie
Last seen: 4 years 25 weeks ago
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
Moderator
Brisbane
Last seen: 8 hours 40 min ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5120
Points: 2717

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 */
}