471,570 Members | 902 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

css problem with IE

46
i always have css problem with my laptop..my css always not work even in my opinion it syntax is right..my os is window xp...

here is an example:

css coding to position my content to be center
#container {
margin:20px auto;
width:699px;
height:800px;
}

but it not work...it position still on my left..you can visit my website to see it at www.alnajmtech.com
Sep 22 '07 #1
1 1200
PaulVS
13
Hi there,

With firefox it looks fine but with internet explorer you need add to the BODY tag "text-align: center" and to the div container add "text-align: left" to not have text centered in the container. That should work

Greetings,

Paul
Sep 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Madhusudan Singh | last post: by
reply views Thread by Alexander Skwar | last post: by
7 posts views Thread by Darren Gamble | last post: by
7 posts views Thread by kecebong | last post: by
reply views Thread by Slavik | last post: by
3 posts views Thread by Garrett Albright | last post: by
reply views Thread by LRW | last post: by
9 posts views Thread by Penn Markham | last post: by
3 posts views Thread by Ron King | last post: by
13 posts views Thread by Gary Quiring | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

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.