473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how to emulate frames with CSS in Internet Explorer?

Dear Group,

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

---

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?

thank you in advance for your help

--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
Jul 20 '05 #1
12 3865
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/>
Jul 20 '05 #2
Thanx a lot for your help, steve. if I can do anything for you in
return, let me know.
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"
Jul 20 '05 #3
<SNIP>
Here's a version that works more or less the same in IE, Opera and
Gecko: http://steve.pugh.net/test/frames.html

<SNIP>

Well, this doesn't emulate frames at all. Frames allow you to place
other pages inside of them and you can not do that with the design
you have.
Jul 20 '05 #4
Mr.Clean <mrclean@p&g.com> schrieb:
Well, this doesn't emulate frames at all. Frames allow you to place
other pages inside of them and you can not do that with the design
you have.


Steve understood what I wanted to reach. I wanted to have a page with
some block elements stay in position (e.g. a top navigation bar),
while other ones (the content area) is scrollable as soon the content
is larger than the viewport.

Jul 20 '05 #5
On Tue, 08 Jun 2004 21:42:10 GMT, Mr.Clean <mrclean@p&g.com> wrote:
<SNIP>
Here's a version that works more or less the same in IE, Opera and
Gecko: http://steve.pugh.net/test/frames.html
Well, this doesn't emulate frames at all.
Since it was not intended to; that page gives a "visual appearance" of
the dead end "frames" technique. Just in the same way as my own...

http://css.nu/exp/nf-illustration.html

Mine does not "work" in IE (any version) but I'm not in this business to
pat BG's back in the first place.
Frames allow you to place other pages inside of them...


Yea; it even allows you to "steal" other peoples web sites to appear
inside whatever rudimentary effort you may have of your own, to make it
appear as you are one hell of a guy on creating webs :-)

The basic is...

"Frames" was "invented" by Netscape in mid 90'ies. It got based on a bad
approach to network technology and became a dead end from the start of
it, and it went downhill from there.

P.S.
Q? have you ever seen a frame site being properly indexed and searchable
through any one of our most popular indexers? Well? Thought not! :-)

--
Rex

Jul 20 '05 #6
Jan Roland Eriksson <jr****@newsguy.com> wrote:
Q? have you ever seen a frame site being properly indexed and searchable
through any one of our most popular indexers? Well? Thought not! :-)


When comparing a CSS and a Framed implementation of the same layout,
contrary to popular belief *all* disadvantages of using frames that are
relevant to users can be avoided if constructed properly.

Very few make that effort, and it almost always takes a lot of extra
effort from the developer, but that's another issue.

The framed version even has some advantages over a CSS based solution
such as correct viewport/pane PgUp/PgDwn scrolling.

--
Spartanicus
Jul 20 '05 #7
Jan Roland Eriksson <jr****@newsguy.com> wrote:
Q? have you ever seen a frame site being properly indexed and searchable
through any one of our most popular indexers? Well? Thought not! :-)


That's a common (practical) argument against frames, but it's also a
technically bogus one. It says nothing about frames but speaks volumes
about just how primitive search spiders actually are.
Jul 20 '05 #8
Mr.Clean <mrclean@p&g.com> wrote:
Steve Pugh <st***@pugh.net> wrote:
Here's a version that works more or less the same in IE, Opera and
Gecko: http://steve.pugh.net/test/frames.html
Well, this doesn't emulate frames at all.


It emulates the appearance of them, which is all you can expect from
CSS.

And did you not bother to look at the OP's page which was heading in
the same direction but just needed a little tweak to work in IE?

And did you not bother to read the rest of my post where I explained
the difference between the functional and presentational aspects of
frames?
Frames allow you to place
other pages inside of them and you can not do that with the design
you have.


Yawn. Better done with some for of preprocessor or SSI anyway.

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/>
Jul 20 '05 #9
On Wed, 9 Jun 2004, Wolfgang Wildeblood wrote:
Jan Roland Eriksson <jr****@newsguy.com> wrote:
Q? have you ever seen a frame site being properly indexed and searchable
through any one of our most popular indexers? Well? Thought not! :-)


That's a common (practical) argument against frames, but it's also a
technically bogus one. It says nothing about frames but speaks volumes
about just how primitive search spiders actually are.


Then you'll be able to show us how to create a URL which reproduces a
particular configuration of a frameset? In general I don't believe
you can. And if not, then what do you reckon your non-primitive
indexer is supposed to return as its result?
Jul 20 '05 #10
In article <d5********************************@4ax.com>, da****@jan.et
says...
Mr.Clean <mrclean@p&g.com> schrieb:
Well, this doesn't emulate frames at all. Frames allow you to place
other pages inside of them and you can not do that with the design
you have.


Steve understood what I wanted to reach. I wanted to have a page with
some block elements stay in position (e.g. a top navigation bar),
while other ones (the content area) is scrollable as soon the content
is larger than the viewport.

But he shouldn't have said that it emulated frames. What I'm getting at
is that frames allow you to keep static info, static and change the
content accordingly. His approach doesn't allow that.
Jul 20 '05 #11
On 9 Jun 2004 01:13:17 -0700, Wolfgang Wildeblood
<wo****************@yahoo.com.au> wrote:
Jan Roland Eriksson <jr****@newsguy.com> wrote:
Q? have you ever seen a frame site being properly indexed and searchable
through any one of our most popular indexers? Well? Thought not! :-)


That's a common (practical) argument against frames, but it's also a
technically bogus one. It says nothing about frames but speaks volumes
about just how primitive search spiders actually are.

If this is true, we must choose between unilaterally improving the spiders
or fixing our design to match their capabilities. Which can you do?
Jul 20 '05 #12
tomasio <da****@jan.et> writes:
I managed to simulate framelike behaviour in mozilla-based browsers by
now, but it doesn't work out with Internet Explorer 6.


The (more or less) technical answer is:

<http://devnull.tagsoup.com/fixed/>

The clue-enhanced answer is:

Stop wanting that.
--
| ) 111010111011 | http://bednarz.nl/
-(
| ) Distribute me: http://binaries.bednarz.nl/mp3/aicha
Jul 20 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Funk | last post by:
Hi, I am currently creating a system that will support web based research. The idea is that the researcher is able to use Internet Explorer or Mozilla, or whichever browser to search for...
7
by: R0bert Nev1lle | last post by:
Internet Explorer always presents me with a challenge (partial repost). The current issue involves emulating max-width in IE using the technique described by Svend Tofte. ...
14
by: TrvlOrm | last post by:
OK. After much playing around, I managed to get my frame page this far.. see code below. BUT...there are still errors with it, and what I would like to have happened is this: 1) On the Left...
1
by: Randy Weber | last post by:
I have a page with two frames, 'header' and 'main'. The following code works in Netscape, but in Internet Explorer. The second bgColor line produces an error: function test(){...
0
by: Eric Seneca | last post by:
Hello, I have a problem I have been dealing with where a C# application I wrote has 5 frames on one page. When you open the information for this page containing these frames Internet Explorer...
5
by: David T. Ashley | last post by:
Hi, I have an application where I use a left frame to navigate to another page in the main frame. After I've done this, when I use "RELOAD" in the browser, it goes back to the original page...
27
by: Murray R. Van Luyn | last post by:
Hi, Is using frames in a website as big an issue nowadays as it was maybe 5 or so years ago? I can remember that you used to have to have a frame site, as well as a non frame site for browsers...
8
by: rn5a | last post by:
I have a HTML page named Index.html which is divided into 3 frames. The URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP page. Now when I go to Windows Explorer, navigate to...
2
by: Andre-John Mas | last post by:
Hi, I am trying to create a web page that has three sections: header, left frame and right frame: --------------------------- | | --------------------------- | ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.