Shoutbox

Website - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: General Chit Chat (/forumdisplay.php?fid=14)
+----- Thread: Website (/showthread.php?tid=73875)

Website by Eddie on 04-24-2007 at 07:07 AM

Hello guys, i will try and explain this the best i can...

My website is all working and everything, but i want the main content area to have a fixed height, and if it goes any bigger than that fixed height it must scroll, check http://www.haboz.net to see what i mean, the white area is the content, and if it goes any bigger than the size of the area then it has to scroll. If you dont understand im sorry. Please dont go into critisizing my code, i just want to know how to do this :) thanks.

Figured out one way but its not how i want it :(...

Scrolling: http://www.haboz.net/index2.php?page=lbb
Not Scrolling: http://www.haboz.net/index2.php?page=home

And the reason i dont want it like that is because when the page doesnt need to scroll it looks crap.

P.S. I will be fiddling with it to try and find a way, whilst i wait for a reply so things may change 8-)


RE: Website by kezz on 04-24-2007 at 07:41 AM

do you want it to scroll or not???
and what program are you using... i'm good with Dreamweaver...


RE: Website by Eddie on 04-24-2007 at 07:46 AM

I want the content to scroll if the "white area" becomes bigger than a "fixed" table height if you know what i mean, can be by either the main scrollbar (preferred) or seperate. I'm also good with dreamweaver bt meh.


RE: Website by Vilkku on 04-24-2007 at 07:47 AM

Would be easiest done with a iframe I think... Of course, this would mean you need another file for the actual text, so you might want to consider some other option?


RE: Website by kezz on 04-24-2007 at 07:50 AM

quote:
Would be easiest done with a iframe I think... Of course, this would mean you need another file for the actual text, so you might want to consider some other option?

yeah iframe mite work best... that link is exactly where i taught myself more about it...
but its all up to what works best for you
RE: Website by Eddie on 04-24-2007 at 07:53 AM

I've tried that method, and i also tried with div tags, they both worked, but i dont want the white area maximised than it is for that certain content, because my page already uses php and the content comes from external files, bt yeh. It's just a matter of finding a way to make a table a fixed height and for everything to stay at the top and not move down to the middle of the table -.- If you need an example for what i mean i can redo that.

edit: re-added div tag so you see ;)


RE: Website by kezz on 04-24-2007 at 08:03 AM

ohhhh... now i see what you mean;)

ummm i can't think of anyways off the top of my head..
sry:^)


RE: Website by Eddie on 04-24-2007 at 08:10 AM

i figured it out :) max-height css, sheesh so stupid, i know it doesnt work in IE6 but a very small amount of our visitors are IE6 so no harm done :)