G
Guest
When I added the following DOCTYPE declaration to my web page, it caused the
CSS formatting of my footer section to stop working:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
If I leave the "http://www.w3.org/TR/html4/loose.dtd" portion out it works.
The CSS definition is:
#footer {
font: "arial", "helvetica", "sans-serif";
font-size: 9px;
bottom: 0px;
text-align: center;
and the code for the footer is:
<div id="Footer" align="center">
©2006, In a Chord Web Design and Consulting, All rights reserved.<br>
Report web site issues to <a
href="mailto:[email protected]"><font
size="-3">[email protected]</font></a><br>
<!--begin-->
<font color="#999999">We're a preferred vendor in the <a
href="http://www.marketingtool.com/channel/webfirm/b.435.g.6880.html"><font
size="-3">Greenfield, Indiana Web Design Services</font></a><font size="-3">
</font>section of Marketingtool.com.
<!--end-->
</font> </div>
(The code between the begin and end comments was supplied by a marketing
company I posted with.)
The web site is www.inachordwebdesign.com.
Any ideas on why it's ignoring the font size setting from the CSS footer
section or why it changes when I leave the specific dtd file reference off?
Thanks.
CSS formatting of my footer section to stop working:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
If I leave the "http://www.w3.org/TR/html4/loose.dtd" portion out it works.
The CSS definition is:
#footer {
font: "arial", "helvetica", "sans-serif";
font-size: 9px;
bottom: 0px;
text-align: center;
and the code for the footer is:
<div id="Footer" align="center">
©2006, In a Chord Web Design and Consulting, All rights reserved.<br>
Report web site issues to <a
href="mailto:[email protected]"><font
size="-3">[email protected]</font></a><br>
<!--begin-->
<font color="#999999">We're a preferred vendor in the <a
href="http://www.marketingtool.com/channel/webfirm/b.435.g.6880.html"><font
size="-3">Greenfield, Indiana Web Design Services</font></a><font size="-3">
</font>section of Marketingtool.com.
<!--end-->
</font> </div>
(The code between the begin and end comments was supplied by a marketing
company I posted with.)
The web site is www.inachordwebdesign.com.
Any ideas on why it's ignoring the font size setting from the CSS footer
section or why it changes when I leave the specific dtd file reference off?
Thanks.