|
Posted by Shank on 08/12/06 01:31
In the below, how do I get the <ol> block to center in the <div>?
I've tried: <ol style="text-align:left; margin-left:auto;
margin-right:auto"> no luck!
I want the <ol> to remain left aligned, but the whole block centered on the
page.
thanks!
<div style="font-family:Arial, Helvetica, sans-serif; text-align:center;
padding:20px; background-color:#FFFF00; color:#990000">
<p style=" padding:3px">
xxxxxxxxxxxxxxxxxxxxx<br>
xxxxxxxxxxxxxxxxxxxxx</p>
<img src="300.jpg" border="0">
<p style="color:#990000; font-size:120%">xxxxxx</p>
<ol style="text-align:left">
<li>xxxxx</li>
<li>xxxxx</li>
<li>xxxxx</li>
<li>xxxxx</li>
<li>xxxxx</li>
<li>xxxxx</li>
</ol></div>
Navigation:
[Reply to this message]
|