Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Valid XHTML works in IE, but FireFox doesn't honor colors Valid XHTML works in IE, but FireFox doesn't honor colorsTo: 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> 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> 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> 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>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
