tomasio <da****@jan.et> wrote:
I managed to simulate framelike behaviour in mozilla-based browsers by
now, but it doesn't work out with Internet Explorer 6.
Could someone glance through the code on the Test-Webpages I created
and maybe leave me a hint what I have to change to make the CSS-based
Layout (1) look like the Frames-based Layout (2)?
This is how it looks like:
(1) http://tomasio.laudatio.com/temp/Cb_meyerframes.html
This is how I'd like it to appear in IE:
(2) http://tomasio.laudatio.com/temp/Frametest_HTML.html
IE doesn't support position: fixed. In your case position: fixed isn't
needed anyway, so use position: absolute instead. You also need to
make a few more changes.
Here's a version that works more or less the same in IE, Opera and
Gecko: http://steve.pugh.net/test/frames.html
The fact that the code needs to trigger quirks mode in order to work
could be a warning of some sort...
the next thing what i wanted you to ask:
does emulating frames with CSS make sense at all, or is it better to
stick to Frames?
Frames have a lot or problems and avoiding them is always a good move.
Some of the problems of frames (bookmarking, search engines, broken
back buttons, etc.) are related to the functionality of frames ans
thus a CSS replacement avoids those issues, but it also avoids the
benefits (e.g. avoiding repeated downloading of common content).
However, some of the problems of frames are due to their on screen
appearance (wasted screen space for example) and a CSS emulation is
going to emulate these problems.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>