CSS Not working in IE?

Hi Everyone,

My website CSS isn’t working in IE. I’m not to sure what the issue is. I’ve played around with certain parts of the CSS but I can’t seem to figure it out. What am I doing wrong? Any help would be appreciated. Thanks!

http://whatsmyowncarworth.com/class-work/sign3/valchecklogin.php
http://whatsmyowncarworth.com/class-work/sign3/style.css

Your document is incomplete. If you view the source code, there’s no head section, or doctype. Maybe some PHP includes gone wrong?

Hey Ralph

Thanks for the reply. I appreciate it but the below URL is not an incomplete document with proper headers and it still does not appear correctly in IE

http://whatsmyowncarworth.com/class-work/sign3/vehicle-display.php

scm22ri,

This is the page that we see. It does not contain a doctype, so quirks mode is guaranteed. The document cannot possibly apprear correctly in IE.

Line 44 is completely invalid code. Looks like part of it belongs in a table.

What do you see?


<html>
<head>
<title>The title goes here my my sweet little pocket rocket</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">






<link rel="stylesheet" type="text/css" href="style.css">




<div id="container">
<header> 
 <h1>Cars</h1>
</header>

<nav>
<ul>
   <li><a href="valchecklogin.php">Home</a></li>
   <li><a href="heythere.php">Profile</a></li>
   <li><a href="display-inventory.php">Cars</a></li>
   <li><a href="mygoal.php">Goal</a></li>
   <li><a href="add-car.php">Cars+</a></li>
   <li><a href="add-dealership.php">Dealership+</a></li>
   <li><a href="edit-car.php">Edit Cars</a></li>
   <li><a href="cal.php">Cal</a></li>
   <li><a href="forgot2.php">Forgot Pass</a></li>
   <li><a href="change-password.php">Change Pass</a></li>
   <li><a href="register.php">Reg</a></li>
   <li><a href="contact.php">Contact</a></li>
   <li><a href="logout.php">Logout</a></li>
</ul>
</nav> 



1<br><div align="center"><img src="photos/1/2.jpg" width="250" alt="2010-Ford-Windstar"/></div></td>2010<br>Ford<br>Windstar<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/test.php?id=1'> Passing variables!</a><br><hr/>2<br><div align="center"><img src="photos/2/2.jpg" width="250" alt="2006-Toyota-Camry"/></div></td>2006<br>Toyota<br>Camry<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/test.php?id=2'> Passing variables!</a><br><hr/>3<br><div align="center"><img src="photos/3/1.jpg" width="250" alt="2009-Dodge-Durango"/></div></td>2009<br>Dodge<br>Durango<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/test.php?id=3'> Passing variables!</a><br><hr/>Florida<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state.php?state=Florida'>Florida Inventory</a><br><hr/>massachusetts<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state.php?state=massachusetts'>massachusetts Inventory</a><br><hr/>Nevada<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state.php?state=Nevada'>Nevada Inventory</a><br><hr/>New York<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state.php?state=New York'>New York Inventory</a><br><hr/>Rhode Island<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state.php?state=Rhode Island'>Rhode Island Inventory</a><br><hr/>This is the state/city break down.Florida<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state-breakdown.php?state=Florida'>Florida Inventory</a><br><hr/>massachusetts<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state-breakdown.php?state=massachusetts'>massachusetts Inventory</a><br><hr/>Nevada<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state-breakdown.php?state=Nevada'>Nevada Inventory</a><br><hr/>New York<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state-breakdown.php?state=New York'>New York Inventory</a><br><hr/>Rhode Island<br><a href ='http://whatsmyowncarworth.com/class-work/sign3/state-breakdown.php?state=Rhode Island'>Rhode Island Inventory</a><br><hr/>



<footer>
   <h3>copyright 2012</h3>
</footer>
</div>

</body>
</html>


BRANCH: JUMPTO message #2

PS: my money is on the php includes :slight_smile:

At the time I looked, there was no head section, so something has changed. Maybe the system is outputting inconsistent results. Anyhow, ronpat has made some good points relating to what now appears.

Thanks everyone. It’s now working! Just need to update all of my pages! Appreciate the help!

Glad it’s working for you. :slight_smile: Thanks for the follow-up.