...

View Full Version : Layer problem



stormn2o
02-03-2008, 09:17 PM
I'm having a problem when people change there resolution the layer that has my form moves from the center of the page. Any help would be greatly appreciated

http://www.medfordcenter.org/rates.html

<div style="position: absolute; width: 464px; height: 252px; z-index: 1; left: 410px; top: 701px" id="layer1"><form method="post" action="contact.php">
<p align="center">Email: <input name="email" type="text"><br>
Message:<br>
<textarea name="message" rows="9" cols="40"></textarea><br>
<input type="submit">
</p>
</div>

Thanks

CaptainB
02-03-2008, 09:44 PM
That might be because you are using position:absolute; You should use margins to center your form instead.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum