Log In · Register

 
div positioning problem, messes up in different resolutions
DarkPhoenixFri13
post 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>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: