-
How to make site fit to page vertically
I want to make my site fit in to one browser window. I don't want to scroll at all. I know there is code that make the information fit horizontally in any browser window, but is there code to make the vertical height 100% of the browser window? Please help!
This site is an example of what I'm looking for...
Link
This is my site that needs the code.
Link
-
-
At 800x600, the example you give has both horizontal and vertical scroll bars. There is no way to fit content to a window if that window isn't big enough to hold it.
Your page is actually the better of the two from that perspective because, as it becomes more narrow when viewed in a smaller window, it needs only a vertical scroll bar.
As long as your content will fit in a certain area say - 700x550, you could put it in a division of those dimensions and it will not need any scroll bars until the window becomes smaller than that.
This is a bad idea though. It is best to allow vertical scrolling and have your page flow (as yours now does) throughout the available horizontal space, as there is no way to predict the size of the user's window.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks