SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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-...checklogin.php
    http://whatsmyowncarworth.com/class-...ign3/style.css

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,097
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Your document is incomplete. If you view the source code, there's no head section, or doctype. Maybe some PHP includes gone wrong?
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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-...le-display.php

  4. #4
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,454
    Mentioned
    61 Post(s)
    Tagged
    2 Thread(s)
    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?

    Code:
    <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

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,097
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by scm22ri View Post
    I appreciate it but the below URL is not an incomplete document
    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.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  6. #6
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone. It's now working! Just need to update all of my pages! Appreciate the help!

  7. #7
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,454
    Mentioned
    61 Post(s)
    Tagged
    2 Thread(s)
    Glad it's working for you. Thanks for the follow-up.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •