After searching forums etc it seems that the accepted way of centering content is something along the following lines:
/*Division tags*/
body {
color: #000;
background: #fff;
text-align: center;
margin: 0px;
padding: 0px; /* Keeps Opera in check */
}
#main {
position: relative;
margin: 10px auto 10px auto;
padding: 0px;
width: 720px;
height: auto;
text-align: center;
}
However this does not work for the browsers listed in the subject, the content appears on the left and infact dissapears entirely in netscape when the window size shrinks. Any ideas?


Reply With Quote
Bookmarks