Jump to content

Recommended Posts

Posted

I have recently coded a userlookup, and during that time I removed several modules (ncmall, habitarium, and neohome) because otherwise nothing would have fit right.

 

Well I decided to try and put them back, but on a different part of the page so it still keeps its format. But my problem is that my neohome module is extrordinarily long. I mean, I'll put the codes back in, set the height and everything correctly, and when I preview everything my module is there, but it stretches along the entire page and goes on...and on...and on... This makes my entire page longer.

 

The odd thing is, it's only this module. All the rest I can adjust to fit perfectly, but this one just won't do it right.

 

http://www.neopets.com/userlookup.phtml?user=kairi7295

 

This is what I mean. At the very bottom my module stretches and I can't make it fit the way I want. I somehow managed to adjust the height on the rest, but not this one.

 

Does anybody have any idea why it's doing this, or maybe how to fix it? I'd like to add that module in, but if it won't code right I guess I'll have to take it out...

 

Any help is appreciated, thank you!

Posted

Sometimes this becomes a pain but there's a simple fix. You just need to assign a maximum height for the module. An example is:

#userneohome {
position: relative;
width: 250px;
max-height: 200px !important;
top: 1430px;
left: -183px;
}

 

That should fix it.

Posted

o_O

 

I can't believe I didn't think of that. Thank you very much! I'll go see if it works.

 

Ah, such an easy fix for a problem that had me going crazy.

Posted

You're not the only one. It drove me mad until I researched it and found that I could do that. :)

I'm glad it helped!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...