How do you position divs so that they stay in the center in any screen size? |
How do you position divs so that they stay in the center in any screen size? |
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. |
|
|
|
mattwright55 How do you position divs so that they stay in the center in any screen size? Jul 12 2007, 05:18 AM
karmakiller Try something like this for your div codes: QUOTE... Jul 12 2007, 12:51 PM
SinfullySweet Make the positioning absolute. Make the left prop... Jul 13 2007, 01:02 AM![]() ![]() |