Hi there,
Since you've all told me that frames ar evil, I'm planning to disguard
frames in favour of CSS "pseudo-frames" for my personal website.
While trying to "emulate frames" (that is I want a 2 column layout,
with the menu in the left column) I came up with this:
http://home-1.tiscali.nl/~knmg0017/css_frames_1.htm
I had some trouble getting the heigth of the "div#content" to be at
least the height of the viewport, so I used the
html, body{
height: 100%;
}
div#content{
height: 100%; /* IE: height = viewport */
...
and
body>div#content{
/* Non IE: height = viewport */
min-height: 100%;
...
This seems to work in both IE and FF (click on "drie" in the menu to
see what I mean)
My question is:
- Is this a sound approach ?
(The CSS will be in an external file in the future of course ..)
- I saw lots of different examples using all kinds of "tricks" with
the overflow property of the div#content, do I need tha in this
approach ?
- Can anyone report me how this looks in any other browser (Opera,
Safari etc.), I don't have them to test it.
Thanks in advance.
Bart
--
Bart Broersma
br*********************@tiscali.nl
(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)