Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 22, 2012 09:43 AM by roopeshreddy
Member
664 Points
319 Posts
Jun 19, 2012 03:58 AM|LINK
hi,
I create a div tag like
<div style="min-height: 11.69in; margin-left: auto; margin-right: auto; width: 8.26in;"> </div>
i try to horizontaly centerd this div tag. it's works in Firefox and Chrome but it's not working in the IE9.
Please Help.
All-Star
20155 Points
3328 Posts
Jun 19, 2012 04:56 AM|LINK
Hi,
It's working fine for me!
<div style="min-height: 11.69in; margin-left: auto; margin-right: auto; width: 8.26in;border:1px solid #ff0000; "> </div>
Did you miss the DOCTYPE at the top of the html document! If yes, them try adding the DOCTYPE
<!DOCTYPE html>
Hope it helps u...
rageshS
Member
664 Points
319 Posts
margin-left: auto and margin-right: auto is not works in IE9
Jun 19, 2012 03:58 AM|LINK
hi,
I create a div tag like
i try to horizontaly centerd this div tag. it's works in Firefox and Chrome but it's not working in the IE9.
Please Help.
roopeshreddy
All-Star
20155 Points
3328 Posts
Re: margin-left: auto and margin-right: auto is not works in IE9
Jun 19, 2012 04:56 AM|LINK
Hi,
It's working fine for me!
Did you miss the DOCTYPE at the top of the html document! If yes, them try adding the DOCTYPE
Hope it helps u...
Roopesh Reddy C
Roopesh's Space