div alignment help |
![]() ![]() |
div alignment help |
Jul 28 2006, 02:42 AM
Post
#1
|
|
![]() Newbie ![]() Group: Member Posts: 3 Joined: Jun 2006 Member No: 430,136 |
is there a way to align my div layout so that when the window is not maximized, it still fits where its supposed to....because on mine, when the window isn't maximized, the divs are shifted to the left and they aren't where they should be....
thank you! |
|
|
|
Jul 28 2006, 02:56 AM
Post
#2
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Are you using percents and um margin positioning?
|
|
|
|
Jul 28 2006, 12:46 PM
Post
#3
|
|
![]() Newbie ![]() Group: Member Posts: 3 Joined: Jun 2006 Member No: 430,136 |
yes....
is that wat im doing wrong? here is an example .bkg { background-color:ff999a; padding: 0px; position:absolute; left:0%; margin-left:0px; top:100px; height:1300px; width:1000px; z-index:1; |
|
|
|
Jul 28 2006, 01:10 PM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Its not wrong , but I think thats the problem. If you could do me a favor. Go to my myspace. (by clicking "my") . Then if it changds when you minimize , then I'll shutup and let someone else tell you. If it doesn't do this:
Change: QUOTE .bkg { background-color:ff999a; padding: 0px; position:absolute; left:0%; margin-left:0px; top:100px; height:1300px; width:1000px; z-index:1; To: CODE .bkg { background-color:ff999a; padding: 0px; position:absolute; left:0px; top:100px; height:1300px; width:1000px; z-index:1; Then just edit left, if you need to reposition. |
|
|
|
Jul 28 2006, 01:12 PM
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 1,188 Joined: Jan 2006 Member No: 364,198 |
Don't use the margin codes,or percents,just stick to pixels (px) and the div's will be fine and won't shift.
|
|
|
|
Jul 28 2006, 01:15 PM
Post
#6
|
|
![]() Newbie ![]() Group: Member Posts: 3 Joined: Jun 2006 Member No: 430,136 |
thank you so much!!!!
it worked!!! i reallly appreciate your help! |
|
|
|
Jul 28 2006, 01:18 PM
Post
#7
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 1,188 Joined: Jan 2006 Member No: 364,198 |
Oooops! You meant toyo loco. Sorry EDIT(1:22) |
|
|
|
![]() ![]() |