Can someone help me with aligning the #main div in the center of the page? I have this code snippet:
<div id="main" style=" margin:0 auto; ">
<div style="float: left">
<a style="display: block" href="#"><img src="test.gif"></a>
<a style="display: block" href="#"><img src="test.gif"></a>
<a style="display: block" href="#"><img src="test.gif"></a>
</div>
<div style="float: left">
<a style="display: block;" href="#"><img src="ursus.gif"></a>
</div>
<div style="float: left">
<a style="display: block" href="#"><img src="test.gif"></a>
<a style="display: block" href="#"><img src="test.gif"></a>
<a style="display: block" href="#"><img src="test.gif"></a>
</div>
</div>
I want to ensure that the content is centered on the page. Any suggestions or solutions would be greatly appreciated. Thank you!