Centering a DIV layout |
![]() ![]() |
Centering a DIV layout |
Jul 30 2007, 12:20 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 20 Joined: Jul 2007 Member No: 553,205 |
I need help centering a DIV layout I made for my friend
here is the testing link i have.. I want it be centered on all screen sizes etc... but I cannot figure it out...Also the top music toolbar in mozilla doesn't load properly.. Any help would be greatly appreciated... www.myspace.com/testingwainwright |
|
|
|
| *SinfullySweet* |
Jul 30 2007, 12:23 AM
Post
#2
|
|
Guest |
The layout seems like it was meant to be aligned to the left. (or so it seems)
But, to make the divs center in all screen resolutions, you would have to make the positioning aboslute, and make the left properties 50% Example. CODE .divname {position:aboslute; left:50%;}
|
|
|
|
Jul 30 2007, 08:48 AM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 20 Joined: Jul 2007 Member No: 553,205 |
now when i do that it makes the backrgound start in the center, not actually centered...?!?
|
|
|
|
![]() ![]() |