Help > Layout & Coding Help > Post Reply     

coding help with expandables :/

Default Avatar
BANNED
February 5th, 2015 1:04:50am
1 Posts

I can't get expandables to work EVER. But now someone has asked me for a double expandable but I can only get one to work at a time.

When I try to set the distance from the top of the image for the second expandable, it won't line up. Even though the first and second ones should be the same height. If that makes sense.

This is what the code looks like: (I'm using an old HP Toxic Scribble code that I've slowly tweaked as I've learned more and some old Lake Eerie CSS she's letting me use)


 


#layout #expand1 {float: left;display:inline;width:308px;margin-left:102px;margin-top:610px;}
#layout #expand2 {float: left;display:inline;width:480px;margin-left:440px;margin-top:610px;}




But they do not line up? The second expandable will ocassionaly line up, but when I update the page, or view it on, not this account, it no longer does.




 


View Comments 1


Player Avatar
aphrodite
February 5th, 2015 9:34:24am
102 Posts

with the new coding, you no longer have to put the left margin from the very left of the page, it is simply from the last expandable. this is what I did for my current lay:

 

#layout #expand1 {float: left;display:inline;width:497px;margin-left:109px;margin-top:1045px;}

 

 

#layout #expand2 {float: left;display:inline;width:497px;margin-left:36px;margin-top:1045px;}

 

 

blahblahblah texttexttext

 

blahblahtexttext




 

Player Avatar
Overture - Back; catching up
February 6th, 2015 10:32:14am
402 Posts

youre the best :D thanks so much!!




clUAJ1E.jpg

 

Player Avatar
𝔖𝔱𝔬𝔯𝔪 ℭ𝔯𝔬𝔴 💀 The Artist Formerly Known as xxCHAOTIC
February 6th, 2015 10:20:08pm
1,854 Posts

This explains so much.




q0w22ub.gif
Link Tree

 

Player Avatar
Kirre Potter
February 7th, 2015 6:45:15am
420 Posts

I kind of love you right now. 

 

I've always just compensated by having different values. This would be way easier!!

 

Thank you!  ^^

 

 




 

View Comments 1