Log In · Register

 
How do you position divs so that they stay in the center in any screen size?
fgfgfgrfg
post Jul 12 2007, 05:18 AM
Post #1


Senior Member
***

Group: Member
Posts: 65
Joined: Sep 2006
Member No: 468,685



Like say if i made a layout on my computer screen, which is 1280 by 1024. And then someone on another comp who had a smaller screen went on my myspace, how would i get the DIV to be in the center still.

If that made any sense... Thats the best way i could describe it.
 
 
Start new topic
Replies
*SinfullySweet*
post Jul 13 2007, 01:02 AM
Post #2





Guest






Make the positioning absolute. Make the left properties 50%, and position the divs by changing the left, and right margins.
 

Posts in this topic


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