div positioning problem, messes up in different resolutions |
![]() ![]() |
div positioning problem, messes up in different resolutions |
Mar 6 2006, 01:44 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Jan 2006 Member No: 366,565 |
EDIT: Nevermind! it was the background all along
http://myspace.com/thisisjustdpstestpage I just made a div layout and used the code given here but i noticed that when i try to position the div for the content, if the resolution of teh computer is more than 1024x768, then it moves. The background is fine but the text won't stay where it needs to stay. I found an example of a similar layout that doesnt have this problem. http://www.createblog.com/layouts/preview.php?id=8318 I've looked at the code but haven't been able to find a solution. Any help is appreciated :D heres the code i used: CODE <div align="center" class="bg" align="center" style="position: absolute; left:000px; top:125px; width:100%; height:800px; overflow: hidden;background-color: 0000;">
<img src="http://img215.imageshack.us/img215/5549/layout1zl.jpg"> </div> <div align="center" class="contentbody" style="position: absolute; left:000px; top:125px; width:100%; height:800px; overflow: hidden;"><center> <div class="content" style="position: absolute; left:360px; top:223px; width:475px; height:225; overflow: auto;"><center> <p>I'm Heli Valenzuela (a name you will never pronounce correctly) I'm 17 and a junior at Jersey Village High school. I'm usually shy but theres good reason behind that... I'm really huge into music, especially metal as you can see. I'm also into design. Graphic and web mostly. Lately I've been expanding my interests to include some other things. Uh. Can't really think of anything elso so if you wanna know more just talk to me.</p> </div> </div> |
|
|
|
Mar 6 2006, 04:42 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,534 Joined: Jul 2005 Member No: 170,127 |
|
|
|
|
![]() ![]() |