Confused, Xanga related |
Confused, Xanga related |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 14 Joined: Aug 2005 Member No: 218,694 ![]() |
Okay, so I made this layout on Xanga. View it here for referance purposes
The problem is when I resize my browser the div's don't stay in place with the part of the image where it's supposed to be. Can anyone help me with this problem? I know a lot of people have the same problem. |
|
|
![]() |
![]()
Post
#2
|
|
Member ![]() ![]() Group: Member Posts: 14 Joined: Aug 2005 Member No: 218,694 ![]() |
I figured it out!
AND It shouldn't interrupt browser compatibility issues nyah. ![]() I'm going to post what I did for future reference if that's okay with you guys because I know many people have the same problems. Okay, here is the code I was working with (should be similar to yours if you are having this problem): The part that says "img src="whatever.jpg" is the part we have to change. This is the part where you put your background image. Instead of putting a simple code for an image we're going to do this: See what I did was put my background image in it's own div that hides behind the other two. And I gave it the div align=left code. Now, nothing moves! You CAN do this simply by adding the div align="left" code before your normal div's. But what that does is keeps your div's in place as your background will move. If you really need your image centered add this code at the very top of your coding: So, your new code should look something like this: |
|
|
![]() ![]() |