Log In · Register

 
Div Align trouble, can't align the div when resized
wiredXecstacy
post Feb 27 2005, 12:06 AM
Post #1


Member
**

Group: Member
Posts: 10
Joined: Aug 2004
Member No: 37,027



Muh Xanga

Okay. So, it started out as a nice layout design and all, nice and simple, and now it's a nightmare. It looks fine when the window is full on a certain resolution, but once it's resized, the div layer with all the entries moves and is completely out of line. Lend me some help?

I'll give you a muffin. =]
 
 
Start new topic
Replies
wiredXecstacy
post Feb 27 2005, 01:29 AM
Post #2


Member
**

Group: Member
Posts: 10
Joined: Aug 2004
Member No: 37,027



Replacing "background-attachment: fixed" with "position: static" makes it so that the background image and the div remain in the same position even when the window is resized.

BUT when trying to position the div with "margin-top: XX px", this causes the background image to move too. Trying to align the div within the image is impossible because as I move the div up or down to fit it into the background, the background itself moves too so that in the end the background ends up at the top, covered over by the xanga banner.

Any way to set the background position by px like the div or is left/right/center/top/bottom the only options??
 

Posts in this topic


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