Connecting Tech Pros Worldwide Forums | Help | Site Map

css problem with IE

Member
 
Join Date: Sep 2007
Posts: 35
#1: Sep 22 '07
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

Newbie
 
Join Date: Sep 2007
Posts: 13
#2: Sep 22 '07

re: css problem with IE


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
Reply