473,665 Members | 2,820 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I replace a <frameset> with an <object> aka IE6/strict box model (and hacks).

According to this <http://css-discuss.incutio .com/?page=BoxModelH ack>
IE6 will display differently to the W3C standard. Only IE6/strict and
I suppose IE 7 display correctly. IE 6 transitional and frameset are
wrong.

My users are still using IE 6 and I have a frameset in most of my
pages - this is just a one line tickertape thing but it has to stay
there. The guy who wrote the site made some errors here (specifying
xml strict but sticking frameset in). I want my code to be valid and
prefer to use HTML 4.01 strict.

The options I have are to tell IE to use HTML 4.01 strict and leave
the frameset in but that will not solve the problem (because won't IE
revert to quirks mode when it finds the frameset?). Naturally the page
currently fails the W3C validator (because it has a frameset).

I tried replacing the frameset with an <objectbut it didn't solve
anything; I couldn't get the object to work. It appears with a scroll
bar on the right and no content.

The code for the frameset is generated using ASP.NET server-side code
but the page is tiny as there are 5 alternate lines which occupy the
tickertape space. It is just one line high. I suppose I could whistle
up some javascript hack to get a page that didn't need postbacks to
display - if tha is what's stopping the <objectfrom working.

How do I get that object to work properly?

There seems to be precious little in Google on this.

Mar 30 '07 #1
3 3462
as the frameset is its own page with no other html, you can still leave
the actual pages html in strict mode.
-- bruce (sqlwork.com)
mark4asp wrote:
According to this <http://css-discuss.incutio .com/?page=BoxModelH ack>
IE6 will display differently to the W3C standard. Only IE6/strict and
I suppose IE 7 display correctly. IE 6 transitional and frameset are
wrong.

My users are still using IE 6 and I have a frameset in most of my
pages - this is just a one line tickertape thing but it has to stay
there. The guy who wrote the site made some errors here (specifying
xml strict but sticking frameset in). I want my code to be valid and
prefer to use HTML 4.01 strict.

The options I have are to tell IE to use HTML 4.01 strict and leave
the frameset in but that will not solve the problem (because won't IE
revert to quirks mode when it finds the frameset?). Naturally the page
currently fails the W3C validator (because it has a frameset).

I tried replacing the frameset with an <objectbut it didn't solve
anything; I couldn't get the object to work. It appears with a scroll
bar on the right and no content.

The code for the frameset is generated using ASP.NET server-side code
but the page is tiny as there are 5 alternate lines which occupy the
tickertape space. It is just one line high. I suppose I could whistle
up some javascript hack to get a page that didn't need postbacks to
display - if tha is what's stopping the <objectfrom working.

How do I get that object to work properly?

There seems to be precious little in Google on this.
Mar 30 '07 #2
On 30 Mar 2007 07:32:34 -0700
"mark4asp" <ma******@gmail .comwrote:
I tried replacing the frameset with an <objectbut it didn't solve
anything; I couldn't get the object to work. It appears with a scroll
bar on the right and no content.
Would inlining the hitherto-framed material meet your needs?

If so, you might want to look at
http://apache.webthing.com/mod_publisher/macro.html
The code for the frameset is generated using ASP.NET server-side code
but the page is tiny as there are 5 alternate lines which occupy the
tickertape space. It is just one line high. I suppose I could whistle
up some javascript hack to get a page that didn't need postbacks to
display - if tha is what's stopping the <objectfrom working.
If doing it in clientside script meets your needs without breaking
accessibility, then go for it.

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
Mar 30 '07 #3
mark4asp wrote:
According to this <http://css-discuss.incutio .com/?page=BoxModelH ack>
IE6 will display differently to the W3C standard. Only IE6/strict and
I suppose IE 7 display correctly. IE 6 transitional and frameset are
wrong.
No. The choice between Standards and Quirks rendering modes is not as simple
as "Strict DTD" Vs "Other DTD". There is lots of documentation out there,
including Microsoft's own, so I won't go into detail here.

.... but if you are going to use a frameset (which brings its own problems)
then the content included in the frameset isn't going to be displayed in IE
anyway - it supports frames and doesn't (AFAIK) have the facility to turn
them off.

The only pages to which CSS will be applied are those loaded into the
frames, and they have their own Doctypes (which should not be frameset
Doctypes since they have a <bodyelement, not a <framesetelemen t).

--
David Dorward <http://blog.dorward.me .uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Mar 31 '07 #4

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

Similar topics

17
2263
by: Albert Wagner | last post by:
I have a page with two frames. Frame1 contains an inline script. Frame2 contains inline and 2 loaded scripts. How may I call a function in frame1(inline) from frame2(inline or loaded)? Albert
34
11035
by: Mark Moore | last post by:
It looks like there's a pretty serious CSS bug in IE6 (v6.0.2800.1106). The HTML below is validated STRICT HTML 4.01 and renders as I would expect in Opera, FrontPage, and Netscape. For some reason, there's an annoying vertical gap between adjacent rules that doesn't go away. This looks like IE6 is incorrectly setting the margin to some arbitrary value. Does anyone know if this is a known bug at MS? If you know of one, post the...
10
16568
by: Roland | last post by:
Hello, the example code is the following(the number in parentheses at the beginning are just for reference)(The complete HTML file is at the end of this article): (1)window.location = 'http://www.google.com'; (2)alert("I'm still here!"); (3)window.open("http://www.slashdot.com", "_blank");
10
67749
by: Eric-Sebastien Lachance | last post by:
Hey there, I decided to just create a 100% height and width div that filled the space over a background header image, and add an onclick event to redirect to the my index... Doesn't seem to work in FireFox only, just in IE. Here's the code: <div id="headerimg"><div style="width: 100%; height: 100%; cursor: hand; cursor: pointer;" onclick="top.location.href('http://www.monamouchtim.com/');">&nbsp;</div></div>
7
3510
by: Peter Jansson | last post by:
Dear group, I have been struggling to get a simple program for inserting and extracting std::tm objects to/from streams to work. The code below tries to read a std::tm object from a std::istringstream but fails to do so, could anybody see what is wrong with the code? (Output follows the code.) I fear that I have not completely grasped how the time_getXXX methods should be used in the operator<< ? With best regards,
5
1256
by: mark4asp | last post by:
According to this <http://css-discuss.incutio.com/?page=BoxModelHack> IE6 will display differently to the W3C standard. Only IE6/strict and I suppose IE 7 display correctly. IE 6 transitional and frameset are wrong. My users are still using IE 6 and I have a frameset in most of my pages - this is just a one line tickertape thing but it has to stay there. The guy who wrote the site made some errors here (specifying xml strict but...
5
13348
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
8779
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
8549
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
7376
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6187
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5660
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
4186
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
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.