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
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
There's very little you can do about the resizing issue.
-> Moved to Xanga Help. |
|
|
![]()
Post
#3
|
|
Member ![]() ![]() Group: Member Posts: 14 Joined: Aug 2005 Member No: 218,694 ![]() |
I'm sure there's something. I've seen others do it.
|
|
|
![]()
Post
#4
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
Meh. Static positioning is about the best you can do, unless you have an example? Besides, it's better to be browser-compatible than worry about resizing issues.
![]() |
|
|
![]()
Post
#5
|
|
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: |
|
|
![]()
Post
#6
|
|
![]() WarPath Leader. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 668 Joined: Aug 2005 Member No: 216,721 ![]() |
Im not sure but i think i saw a similar layout on a XP Style Theme Suite,and btw the menu buttons are too blured,or you didnt arrange your layer style too good.can't seem to read them too well.
|
|
|
![]()
Post
#7
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 7,025 Joined: Feb 2004 Member No: 4,051 ![]() |
|
|
|
![]()
Post
#8
|
|
Member ![]() ![]() Group: Member Posts: 14 Joined: Aug 2005 Member No: 218,694 ![]() |
QUOTE(Claudel @ Aug 30 2005, 7:19 AM) Im not sure but i think i saw a similar layout on a XP Style Theme Suite,and btw the menu buttons are too blured,or you didnt arrange your layer style too good.can't seem to read them too well. 1) Show the layout to me and if someone had the same exact layout as mine, I will litterally quit Xanga all together. Considering, it took me like 5 hours to make that. 2) I'm trashing the layout all together. Too many problems with it. For one, you're right. The buttons are too blurry. Two, I have a much better layout in mind. "i agree, it's not something that can be fixed easily." But it can be fixed. As I stated above. |
|
|
![]()
Post
#9
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
I never said it would interupt browser issues. I said it was better to worry about that than resizing issues, because few resize their browser window while viewing pages.
What if I want it pushed to right? ![]() And.... Does it not work if you combine the align="left" into the rest of the code or something? CODE <div style="position:static; margin-left:-10px; margin-right:0px; margin-top:-192px;" align="left"><IMG SRC='http://i23.photobucket.com/albums/b374/TheDerekEffect1/spideyblog2.jpg' border=0 width=750 height=900 USEMAP='#imgmap'></div> And what exactly does this do? CODE <div style="height: #px"></div> And don't call me Nyah. Especially without capitalizing it. |
|
|
![]()
Post
#10
|
|
Member ![]() ![]() Group: Member Posts: 14 Joined: Aug 2005 Member No: 218,694 ![]() |
QUOTE(nyah-nek0 @ Aug 30 2005, 10:02 PM) I never said it would interupt browser issues. I said it was better to worry about that than resizing issues, because few resize their browser window while viewing pages. What if I want it pushed to right? ![]() And.... Does it not work if you combine the align="left" into the rest of the code or something? CODE <div style="position:static; margin-left:-10px; margin-right:0px; margin-top:-192px;" align="left"><IMG SRC='http://i23.photobucket.com/albums/b374/TheDerekEffect1/spideyblog2.jpg' border=0 width=750 height=900 USEMAP='#imgmap'></div> And what exactly does this do? CODE <div style="height: #px"></div> And don't call me Nyah. Especially without capitalizing it. 1) Align your table at the beginning to the right. This is all stuff you can figure out on your own if you have any HTML knowledge what-so-ever. 2) It puts your background in a div. I explained that already. I didn't even think about this but you could just change the div coordinates like the rest of your code without putting the table in there. 3) Not everyone keeps their browser maximized all the time. That's what I was worried about. 4) "Does it not work if you combine the align="left" into the rest of the code or something?" - As explained above (You really didn't read the side comments did you?), what happens is that the background is centered while the div's stay in place. Therefor when you resize the browser the background moves and the div's still dont stay aligned with the part of the background you want them on. 5) If you don't want to be called "Nyah", then don't make your screename "nyah-nek0". Common sense. PS. My solution to the problem isnt intended for people who have everything aligned to the right. when aligned to the right it usually stays that way. its intended for people who have the problem that when resizing the browser (when its not maximized) the divs dont tend to stay aligned with the part of the background picture they want it on. either way by putting your background image into it's own div and putting an align=left code in it you can place anything wherever you want it on the page and nothing will move out of place. It's just a helpful solution to a common problem. It's not meant to solve every problem you have with div's or backgrounds. If you STILL have a problem after doing this you may have to figure it out on your own but that's what i did to solve MY problem that many other people seem to have. I looked at other peoples coding in the skin database and they could benefit from it. |
|
|
![]()
Post
#11
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 ![]() |
..... Aligning the table to the right. Meh. Figures. So.... What about the bottom right hand corner?
How would it put your background in a div when it's empty? o-0 Are you talking about the actual background on the page or the main image? QUOTE 4) "Does it not work if you combine the align="left" into the rest of the code or something?" - As explained above (You really didn't read the side comments did you?), what happens is that the background is centered while the div's stay in place. Therefor when you resize the browser the background moves and the div's still dont stay aligned with the part of the background you want them on. Meh... I did. I just don't understand why you can't just add in div align="left" into all your divs. All I wanted was a yes or no. Meh.And it's Nyah-chan. Not just Nyah. You don't know me well enough to leave the honorific off. =P If you must, then it's Reili. Gosh, why am I explainging this when it's in my sig? |
|
|
![]()
Post
#12
|
|
![]() WarPath Leader. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 668 Joined: Aug 2005 Member No: 216,721 ![]() |
QUOTE(PimpMyXan_ga @ Aug 31 2005, 2:53 AM) 1) Show the layout to me and if someone had the same exact layout as mine, I will litterally quit Xanga all together. Considering, it took me like 5 hours to make that. LoL! Dont get pissed now,ive said "WinXP Theme Suite" , not Xanga/MySpace or whateva' layout. Relax.:) its cool anyway anyhow,you just need to move from you chair 2-3 steps back from your computer and take a good look what else you need to re-touch :P |
|
|
![]()
Post
#13
|
|
![]() Amberific. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 12,913 Joined: Jul 2004 Member No: 29,772 ![]() |
Well, since you've figured out how to fix it yourself, I'm just gonna close it now. If another mod sees otherwise, they can re-open it, or if you (the topic starter) want it re-opened, PM me.
|
|
|
![]() ![]() |