Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Valid XHTML works in IE, but FireFox doesn't honor colors

From: "Richard Lionheart" <NoOne@-------.--->
To: NULL
Date: 10/4/2005 9:34:00 PM
Hi All,

I got a FrameSet example from Joe Burns' HTML Goodies code which is 
maintained on http://www2.volstate.edu/lharber/hgbookfiles/.  I cleaned up 
the HTML to bring it up to valid XHTML.  As I said above,  when I run it in 
IE, it seems to run perfectly.  When I run it in FireFox, the text comes up 
in frames,  but the background color specified is not honored.

The code for three of the five files sufficient to demonstrate the problem 
is presented below.

Any ideas?

Regards,
Richard

====== frames.html ========
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
 <!-- frames.html -->
<html>
    <head>
        <title>Frames Page</title>
    </head>

    <frameset cols="50%,*">
        <frame src="frames_l.html" name="left" />
        <frame src="frames_r.html" name="right" />
    </frameset>
</html>

====== frames-l.html ========
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 <!-- frames-l.html -->
<html>
<head>

  <title>HTML Goodies Book Example</title>


</head>
<body bgcolor="FFFFCC" text="000000" link="0000ff" vlink="800080" 
alink="ff0000">

  <p>Hi, book reader...</p>
  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a quick example of how you can 
use targets
    inside of frames in order to get the output of HREF links to show up in 
other frame windows.</p>

  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Below is a link that does not have any 
target attached to it.
    When you click on it, you'll see that the output of the link shows up in 
this window. Go ahead.
    Click on it now.</p>

  <div align="center"><a href="frames_11.html">Click Here</a></div>


</body>
</html>

====== frames-r.html ========
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 <!-- frames-r.html -->
 <html>
    <head>
        <title>HTML Goodies Book Example</title>
    </head>

    <body alink="ff0000" bgcolor="00ffff" link="0000ff" text="000000" 
vlink="800080">
        <p>Hi, book reader...</p>
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read the text over in the left-hand 
column first.
            After you see all the fancy link changing, I suggest you take a 
quick look at the
            source code. You'll see the code of the frames page rather than 
what is written here or over
            in the other frame window. It'll give you a good idea of how a 
frame page should be spaced.</p>
    </body>
</html> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent