473,396 Members | 1,924 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,396 software developers and data experts.

iFrame and Object tags content rendering lines through text in Mozilla

7
Hi Everyone,

I've searched variuos forums as much as I could for a similar problem within the time I could and found no helpful solution, I hope someone here can help me out:

I have an iFrame issue in all Mozilla browsers where the text appears to be like strikethrough text but it is definitely a rendering issue. I have tried iFrame and Object tags as advised on w3c.org but alas, the same problem.

Is this a bug in Mozilla? and if so, is there a workaround to it? You can view the issue at the following website using Firefox or Netscape's latest versions:

http://www.scatterlingsclub.com

Works perfectly in IE as usual...but you get the pedantic users who shudder at the remote thought of something being "less secure"...

Hope there is a solution...

Cheers, Riaan
Oct 7 '07 #1
4 2239
drhowarddrfine
7,435 Expert 4TB
Works perfectly in IE as usual
Something working in IE and not Firefox is not "the usual". IE6/7 are nine years behind web standards and riddled with inaccurate renderings. Your page has "stuff" in front of the doctype, the comments. This puts IE into quirks mode and it uses its broken "box model". Remove the comments to bring IE into closer to the 21st century.

The 'line-through' is coming through your CSS under .tableBG where you declare the property 'text-decoration: line-through' which modern browsers will properly do as Firefox has. Old, backwards, non-standard IE6/7, of course, fails to do so.

In addition, your frames add up to 75 html errors. I did not look at the css errors.
Oct 7 '07 #2
R144N
7
Something working in IE and not Firefox is not "the usual". IE6/7 are nine years behind web standards and riddled with inaccurate renderings. Your page has "stuff" in front of the doctype, the comments. This puts IE into quirks mode and it uses its broken "box model". Remove the comments to bring IE into closer to the 21st century.

The 'line-through' is coming through your CSS under .tableBG where you declare the property 'text-decoration: line-through' which modern browsers will properly do as Firefox has. Old, backwards, non-standard IE6/7, of course, fails to do so.

In addition, your frames add up to 75 html errors. I did not look at the css errors.
Thanks, I really don't know how that TableBG css thing got there - thats what you get for copying and pasting erroneous code thereby propagating the issue...I am in an advanced state of elation that it got fixed.

Thanks for your help. I feel like an idiot at this point but its always good to have a fresh pair of knowledgeable eyes...

Cheers, Riaan
Oct 7 '07 #3
R144N
7
P.S. Thanks for the doctype tip.

Had no idea IE did that with comments before the declaration...and I get paid for what I do...LOL

I'm a Desktop applications developer but websites seem to be the order of the day - need to brush up on my HTML...

Cheers, Riaan
Oct 7 '07 #4
drhowarddrfine
7,435 Expert 4TB
Not just comments. Anything before the doctype will cause that. IE6/7 is the worst browser on the planet.
Oct 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text is in there) and there the struggle starts. I...
2
by: swathi | last post by:
----------------------------------------------------------------------- A poll associated with this post was created, to vote and see th results, please visit...
28
by: Christopher Benson-Manica | last post by:
I have the following document, at http://ataru.gomen.org/file/test.html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head>...
16
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
5
by: mike | last post by:
If I have a document like: <script> function mike_test() {alert('hi');} </script> <iframe src="blank.html" id="my_iframe1"> </iframe> and in blank.html I have:
13
by: Fernando Deutsch | last post by:
I have an html page with an iframe on it. Inside the iframe there is an img element. I am looking how to reference the iframe from the img element contained on it and cannot find a way to do it. I...
14
by: Aaron Gray | last post by:
Hi, I want to access the properties of an IFrame but seem unable to get access to the IFrames document body. <html> <body> <iframe src="test.html" id="IFrame"></iframe> </body>
1
by: John L. | last post by:
How do I invoke the scroll() method of a window object for a scrollable IFRAME element in an HTML document? I am using IE 7.0, and I thought the following would work: ...
4
by: removeps-groups | last post by:
Hi. Is iframe supposed to have an onload event? Many documents in google have examples of this method. It works in Mozilla 2. However, http://www.w3schools.com/TAGS/tag_iframe.asp does not have...
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
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...
0
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...
0
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,...

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.