centering div profile, for different screen resolutions |
centering div profile, for different screen resolutions |
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
|
|
|
|
![]() |
Dec 12 2006, 01:24 AM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
The code she gave you are the coordinates to a centered div. So if you want your image or whatever centered you go in your code. Replace the coordinates your currently have with the ones she gve you. (Basically in your case, you will be editing the css.)
|
|
|
|
transam400 centering div profile Dec 10 2006, 09:36 PM
WHIMSICAL 0NE CODE<div class="content" style="po... Dec 11 2006, 08:10 PM
transam400 Well I assume I have to delete some other code tha... Dec 12 2006, 01:21 AM
transam400 hmm its not working for me...does it go in about m... Dec 12 2006, 01:40 AM
toyo loco Your css and div coordinates are in about me so it... Dec 12 2006, 02:31 AM
transam400 ok I got it centered and tested it, it stays in th... Dec 12 2006, 03:03 AM
toyo loco You can change for all of them. Test it out. IF it... Dec 12 2006, 03:39 AM
transam400 Well I finally had some time to recode my page. T... Dec 15 2006, 12:49 AM
Unfold I'm having a problem with this as well.
I use... Sep 28 2007, 05:03 PM
SinfullySweet ^Try adding a z-index:4 or z-index:5 into your div... Sep 28 2007, 05:05 PM
Unfold http://www.myspace.com/christines_layouts
Here... Sep 28 2007, 05:18 PM
SinfullySweet Yeah, try replacing your div code with this
CODE... Sep 28 2007, 05:26 PM
Unfold thank you very much.
It works :) Sep 28 2007, 05:34 PM
SinfullySweet no problemo =) Sep 28 2007, 05:35 PM![]() ![]() |