I have design a web page but it have diff- diff look in IE and Firfox.
It look center in IE and in firefox it display on right hand side.
What can i do that in all browser its look become same?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit ChoudharyPosted May 1, 2010, 1:17 AM
create a container div that can wrap all your page stuff.. inside the body tag.. now apply style on it like this:
#container
{
margin:0 auto;
width=976px;
}
------------
--------
It' take your web page to center of the screen and also it'll be browser independent...
you can change the width size. but do not remove it from the style of container.. its must attribute while using margin:0 auto;
Please mark "Do you like this post" if it helps you.