View Single Post
  #9 (permalink)  
Old 07-25-2008, 07:35 PM
tonyf12 tonyf12 is offline
WMG Newcomer

 
Join Date: Jul 2008
Posts: 32
iTrader: (0)
tonyf12 is on a distinguished road
Default

To get it to work in IE older than 6 (and 6 in quirks mode) aswell as modern browsers you will need something like this:

HTML Code:
<div id="outer-container">
<div id="inner-container">

... Your content here ...

</div>
</div>
and the CSS

Code:
.outer-container {
margin:0 auto;
text-align:center;
}
.inner-container {
text-align:left;
}
Older versions of IE (not sure which ones) treat text-align as a general align property.
Reply With Quote
Sponsored Links
Register and sign in to hide this ad block