NeoLover854 Posted October 27, 2012 Share Posted October 27, 2012 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! Quote Link to comment Share on other sites More sharing options...
Mouseykins Posted October 27, 2012 Share Posted October 27, 2012 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. Quote Link to comment Share on other sites More sharing options...
NeoLover854 Posted October 27, 2012 Author Share Posted October 27, 2012 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. Quote Link to comment Share on other sites More sharing options...
Mouseykins Posted October 28, 2012 Share Posted October 28, 2012 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.