4 replies [Last post]
juglist_team
Offline
newbie
Last seen: 13 years 47 weeks ago
Joined: 2008-08-31
Posts: 3
Points: 0

Could someone please give me a few hints about getting this kind of a layout? http://www.dzone.com/links/index.html. As you can see from the link, the main content is contained within a scrolling div, and the rest of the site's layout never causes the browser window to scroll, no matter the size of the window (or your screen resolution). So the only scroll bar you ever get is the "overflowed" div's. I cannot seem to get a layout to not cause the browser window to scroll without setting very small percentage heights in my layout, which causes my page to become ridiculously small when you start shrinking the browser window. But this page's layout stays tight to the bottom edge of the window. I know there must be something really basic I am not getting, but I don't get it anyways.

I wouldn't mind just a link to some relevant article or tutorial, either.

Thanks!

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 24 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

Well, if you want your site

Well, if you want your site to be unuseable in IE6, still the most heavily used browser on the planet, you can do that with the CSS position:fixed property as they have done.

Or use frames - either way is strongly discouraged. It doesn't really add anything useful to a page and merely adds complexity for the designer and for the user. Just stay away from it is my advice. You might think it looks cool, but people don't come to your site for cool, they come for information.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 43 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Can't really help you

Can't really help you without seeing your code.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

juglist_team
Offline
newbie
Last seen: 13 years 47 weeks ago
Joined: 2008-08-31
Posts: 3
Points: 0

Sorry for not responding; I

Sorry for not responding; I figured it out using the position fixed. Our site is aimed at people who would not be caught dead using IE, let alone an old version!

Thanks all!

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 43 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

juglist_team wrote:Our site

juglist_team wrote:

Our site is aimed at people who would not be caught dead using IE, let alone an old version!

If only we could all be that lucky. Wink

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference