Log In · Register

 
centering div profile, for different screen resolutions
transam400
post Dec 10 2006, 09:36 PM
Post #1


Senior Member
***

Group: Member
Posts: 48
Joined: Jan 2006
Member No: 357,932



my div profile looks fine on my screen (19" monitor, 1152 x 864) but when the resolution goes down, my profile moves right. Like when its viewed on a 15" monitor its off to the right, not centered. How can i make the page stay centered no matter what the resolution is? Thanks
 
 
Start new topic
Replies
Unfold
post Sep 28 2007, 05:18 PM
Post #2


Always Move Fast
****

Group: Member
Posts: 167
Joined: Aug 2005
Member No: 192,635



http://www.myspace.com/christines_layouts

Here's the link. I put in some random content for an example as my problem

CODE
<div class="content" style="position: absolute; left:000px;  top:500px; width:635px; height:50px; overflow: auto;"><center>
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaa
</div>


that's the code for my content
 

Posts in this topic


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