0

I had just began building a website.
I don't know what is wrong with it, it was working about two seconds ago then I made a minor change and refreshed the website and the css completely stopped working. Here's my code

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

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title> Squids </title>

<style type="text/css">

*  { padding: 0px; margin: 0px; }
#header  { height: 200px; background-color: #ffffff; border-bottom: 5px solid #777777; color: #2C5197; padding: 1px 1px 3px 1px ; } 
#body { background-color: #2C5197; margin-top: 0px; padding: 1px 1px 3px 1px ;  } 

</style>
</head>

<body>

<!-- Header -->

<div id="header" >
<p> Header </p>
</div>

<!-- End of Header -->

<!--Nav Bar-->



<!--End Of Nav Bar-->

<div id="body" >
<p> Content </p>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
</div>

<!-- Clock Flash Player -->
<!-- <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
width="500" height="150" name="GameID">
<param name="movie" value="simpleclock-500x150.swf">
<embed src="simpleclock-500x150.swf" width="500" height="150" 
quality="high" type="application/x-shockwave-flash" 
pluginspage="http://www.macromedia.com/go/getflashplayer" name="GameID">
</embed></object> -->
<!-- End of Clock Flash Player -->

</body>

</html>

If someone could tell me what's wrong with it that would be greatly appreciated
I even used a validator and it said that my website passed

Edited by jspence29

2
Contributors
5
Replies
6
Views
4 Years
Discussion Span
Last Post by JorgeM
0

The webpage looks like there is no CSS it looks like :

Heading
Content

This topic has been dead for over six months. 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.