Log In · Register

 
div alignment help
angelia_chan_15
post 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!
 
 
Start new topic
Replies (1 - 6)
freeflow
post 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?
 
angelia_chan_15
post 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;
 
freeflow
post 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.
 
anime-essence
post 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. thumbsup.gif
 
angelia_chan_15
post 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!
 
anime-essence
post Jul 28 2006, 01:18 PM
Post #7


Senior Member
******

Group: Staff Alumni
Posts: 1,188
Joined: Jan 2006
Member No: 364,198



You're very welcome,helping is my job biggrin.gif



Oooops! You meant toyo loco. Sorry


EDIT(1:22)
 

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