CSS frames

Pre 2006

CSS layouts to emulate the frameset layouts with fixed areas. See the 'Information' section below.

Information

Looking around the web I have found that one of the most requested uses for CSS is to emulate frames with a fixed menu system and scrolling text area. But so far I have found no satisfactory cross browser method of doing this.

However, whilst I was playing around with using different background images in html and body, I stumbled across this.

This uses just html and body css with a menu div.
The menu div is placed over the html area of the page and stays fixed, whereas the body area scrolls.

Works in IE6, Mozilla and Firefox, but Opera 7.23 fails to display the menu although it knows it is there as the cursor changes as you hover over the invisible links.

Take a look here Css Frames.

OR....

A more conventional way that works in Opera and NN7 (after a fashion) and degrades well in IE5.5 and 5.01 can be found here.

Css Frames MK.2

I got the shell idea from Eric Meyer.

OR....

The Holy Grill.


Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.


Please ask permission before using or copying this example to your web site.


Please Support CSS play

Please note that if your donation is for a demo/menu then you will need to email me with the url of the demo/menu after making the donation

For more CSS demonstrations I recommend that you visit the Dynamic Drive CSS Library.


Free, practical CSS menus, layouts, and examples

Follow CSS play


Facebook   Twitter   Facebook Fan Page