...

View Full Version : Problems with div alignment



onedollartotown
03-12-2009, 09:12 AM
Hi Guys,

I have this code here below:-
<div id="motioncontainer" style="position:relative;overflow:hidden;width:800;">
<div id="motiongallery" style="position:absolute; white-space: nowrap; left: 0px; top: -28px;color:#00FF00">
<nobr id="trueContainer"> <a href="images/winter.jpg" rel="enlargeimage::click" rev="loadarea" title="This is an example1"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="images/Sunset.jpg" rel="enlargeimage::click" rev="loadarea" title="This is an example"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="javascript:enlargeimage('images/winter.jpg', 300, 300)"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="http://www.ccc.com"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="#"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="#"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="#"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="#"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="#"><img src="images/winter.jpg" width="128" height="125" border=1></a>
<a href="#"><img src="images/winter.jpg" width="128" height="125" border=1></a></nobr></div>
</div>

I cannot get the image container to align on the centre of the page. I have tried adding align="center" but it does not work. How can I go about doing this? Thanks.

Regards,
John

abduraooft
03-12-2009, 09:21 AM
Read the 8th one(and others :)) from the sticky http://www.codingforums.com/showthread.php?t=35014



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum