473,785 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frames emulation

Hi all
I've seen a lot of posts about frames emulation.
I would like to emulate a: header, left-side menu, content, footer layout.

I need to be cross browser compatible...bu t I'm get crazy!!!
My code is above: it displays right on Firefox 1.0 but it doesn't on IE6.
What should I change?!

thanx
--
ShadowMan

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Cb_start _korr1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--

html, body {
margin: 0; padding: 0; border:none;
overflow: hidden;
}

#FrameTop {
position: absolute;
top: 0;
left: 0;
background: Green;
width: 100%;
height: 100px;
/*bottom: 80%;*/
right: 0;
}

#FrameLeft {
position: absolute;
top: 100px;
left: 0;
width: 20%;
/*height: 100%;*/
/*bottom: 80;*/
bottom: 50px;
right: 80%;
background: Maroon;
}

#FrameContent {
position: absolute;
top: 100px;
left: 20%;
width: 80%;
bottom: 0;
right: 0;
overflow: auto;
background: #F2F2F2;
}

#FrameBottom {
position: absolute;
bottom: 0;
left: 0;
background: Green;
width: 20%;
height: 50px;
/*bottom: 80%;*/
right: 80%;
}

-->
</style>
<!-- End Styles -->
</head>
<body>
<!-- Divs simulieren Frames -->
<div id="FrameTop">T op Frame</div>
<div>
<div id="FrameLeft" >
Left Frame<BR>assasa
</div>
<div id="FrameConten t">Lorem ipsum dolor sit amet, consectetuer adipiscing
elit, sed diam nonummy nibh euismod tincidunt ut laoreet congue nihil
imperdiet doming id quod mazim placerat facer possim assum.
[more text]
</div>
</div>
<div id="FrameBottom ">Bottom frame</div>
</body>
</html>
Jul 21 '05 #1
3 4348
On Wed, 17 Nov 2004 17:03:13 +0100, ShadowMan <sh*****@despam med.com>
wrote:
Hi all
I've seen a lot of posts about frames emulation.
I would like to emulate a: header, left-side menu, content, footer
layout.

I need to be cross browser compatible...bu t I'm get crazy!!!
My code is above: it displays right on Firefox 1.0 but it doesn't on IE6.
What should I change?!

thanx


I'm not going to tweek code in a post. Why not put a page on line so we
can all see what is happening?

Know what, tweak it yourself with this input. I've various pages on line
that emulate frames. Text is in Dutch, but markup and style should be
clear enough:

-
<http://home.wanadoo.nl/b.de.zoete/voorbeelden/voorbeeld_fixer en-kop.html>
with header, left sidebar and footer fixed;
-
<http://home.wanadoo.nl/b.de.zoete/voorbeelden/voorbeeld_verti caal-centreren-content.html>
with all but centered content fixed in the viewport of the browser.

Important thing: normal position:fixed does not work in IE. You have to
hack your way around that by keeping your page in quirksmode and add a
small stylesheet for IE, giving all position:fixed a value :absolute.

--
Webontwerp <http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html >
Zweefvliegen <http://home.wanadoo.nl/b.de.zoete/html/vliegen.html>
Blog <http://home.wanadoo.nl/b.de.zoete/_private/weblog.html>
DTD <http://home.wanadoo.nl/b.de.zoete/dtd/not_so_strict.d td>
Jul 21 '05 #2
Hi,
My code is above: it displays right on Firefox 1.0 but it doesn't on IE6.
What should I change?!

Use dean.edwards.na me/ie7 and position:fixed.
It's a bit of JS, but only for IE-Users who have usually turned JS on.
For any other user the JS-Code is ignored.

Chris
Jul 21 '05 #3
"Barbara de Zoete" <b_********@hot mail.com> ha scritto nel messaggio
news:opshmfv8nh x5vgts@dunnet-q4wppud9
On Wed, 17 Nov 2004 17:03:13 +0100, ShadowMan <sh*****@despam med.com>
wrote:
I'm not going to tweek code in a post. Why not put a page on line so
we can all see what is happening?

Here it is:
http://jugbari.altervista.org/cssframes.htm
--
ShadowMan
Jul 21 '05 #4

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

Similar topics

16
1679
by: Chris | last post by:
Is there any way to make the class Z behave the same way as class Y? Chris class Y: value = 42 def __hasattr__(self, name): if name == '__int__': return True def __getattr__(self, name):
3
2061
by: Gilles Cadorel | last post by:
I'd like to add in a HTML page a button, that open a Unix Emulation on a new Windows, when I clik on it. I'm using WRQ Reflection to connect to Unix hosts. The problem is that I don't want the emulation be opened in Internet Explorer, but the real programm (r1win.exe in this case) to be opened on a new Windows. Can anybody help me ? Gilles
12
3896
by: tomasio | last post by:
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:
5
1788
by: grakat | last post by:
The "frames are evil" mantra is often heard - I've said it myself -, but can someone tell me how a framed site works in an aural browser or for that matter, any browser other than the normal GUI type? Other than that search engines don't index pages within the site, are there any real problems with frames for folk using browsers like IE6, Opera 7+, FF/Moz ? --
7
2332
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three frames, where the two lower ones are within a Frameset within the master Frameset: 1111111111111111111
95
5784
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm? For most markup I know when it's useful and when it's not, but regarding table markup I sure know when it isn't good, but can't really come up with a way it would be good. As you all are among the sharpest pencils in the bag, let me ask: Do you...
25
43626
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head>
7
2993
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
56
3870
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content. Now i want to Disable ad Enable the menu items which are placed in the left frame for navigation purpose. Can any of you input me with any idea as how to proceed? If you need any other information then please let me know.
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.