DIV layer misalignment, how can you align it? |
DIV layer misalignment, how can you align it? |
Aug 2 2006, 09:19 AM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 219 Joined: Jan 2004 Member No: 1,625 |
I have a comment box in a div layer that i positioned in relative to otherthings on my layout and it's fine. the problem is that when people with a lower resolution look at my myspace, the comment box is not where it's supposed to be, it's more to the right than it should be.
my res. is 1280x1024 and the alignment is fine. my friend's is 1024x768 and my comment box is misaligned on his. when i change my res. to match his, it is also misaligned. how can i make it so that it would be in one place in all res.? thanks. here's my comment box code. CODE <div style="position:absolute;left:760px; top:610px; width:200px; height:250px; background-color:#ffffff; overflow:auto;">
<center> <form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment"><input name="96830854" value="Your friend ID number" type="hidden"><textarea name="f_comments" cols="40" rows="7" style="border-width: 1px; border-style: solid; border-color: 000000; font-family: Tahoma; font-size: 10px; color: 000000; background-color: ffffff;" style="overflow:auto;"></textarea><br> <input value="add comment" style="border-width: 1px; border-style: solid; border-color: 000000; font-family: Tahoma; font-size: 10px; color:000000; background-color: ffffff;" type="submit"> <input value="clear" style="border-width: 1px; border-style: solid; border-color: 000000; font-family: Tahoma; font-size: 10px; color: 000000; background-color: ffffff;" type="reset"></form> </center> </div> |
|
|
|
korean_azn4lyfe DIV layer misalignment Aug 2 2006, 09:19 AM
toyo loco Add a zindex. Before the "> add z-index... Aug 2 2006, 12:07 PM
korean_azn4lyfe i added the z-index like you said..
i put it here... Aug 2 2006, 12:15 PM
toyo loco Not that I know of. If all your divs look like tha... Aug 2 2006, 12:19 PM
korean_azn4lyfe yeah.. we are both using IE. and his res. is lowe... Aug 2 2006, 09:46 PM
toyo loco Yea it looks fine. As long as your not using margi... Aug 2 2006, 10:27 PM![]() ![]() |