I have been trying to learn HTML/CSS for about a year now as a hobby and I have developed a good base knowledge and I figured before I got to far ahead of myself I would learn all of the proper rules, so I have begin to read HTML 4.01 Specification from the W3C website. I have add the fowling DTD to my HTML code and it causes my style to loose all back ground color. Is the problem in my HTML or could it be in my CSS. I have attached my .php. It works just fine with out the DTD in the first line. Thanx in advance


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 



	<title>The Kedrows</title>
	<link  href="Styles/CSStry.css" rel="stylesheet" type="text/css">
	<META http-equiv="Content-Style-Type" content="text/css">

	<div id="header">
		<h1> Welcome to the Kedrows </h1>
		<h2> Who are the Kedrows?</h2>

	<div id="nav-menu">
	<ul><li> <a href="pages/the_fam.html">The Fam</a></li>
	<li><a href="PIX/mom.jpg">Robyn</a></li>
	<li><a href="PIX/themonkey.jpg">Adelle</a></li>	
	<li><a href="PIX/littledude.jpg">Jack</a></li>

	<div id="footer">
		<div id="right">
			<h3 clear: both;>What is the purpose?</h3>
		<p id="info">
			This domain was created to give my family and I a permanent e-mail address that we could be assured would remain relatively spam free and for the most part everything 
			is going as planed.
			The second reason for the domain is to teach myself web design. This has proven to be a slow process.
			The big project at the moment is learning PHP/MySQL in order to create a robust cook book for my wife.  I am also still trying to nail down HTML and CSS.

		<font size="5"> If your feeling froggy you can sign our <a href="http://www.thekedrows.com/gbook">guest book</a></p></font>


9 Years
Discussion Span
Last Post by LanierWexford

switching to XML did the trick, plus another rung in the latter of learning. Thanx MM


This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.