WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS Validator - 1 error left! "style.css not found?" (5 posts)

  1. jamesinagiantpeach
    Member
    Posted 4 years ago #

    When I try to validate my site's CSS the only error left is that style.css is not found.... is this why the site displays incorrectly in Internet Explorer? That's the next big hump before I put the site up! Your help is greatly appreciated.

    This is the error I keep getting found on line -1 . What does that mean? Something isn't in there that needs to be?

    File not found: http://www.jameslanmanandthegoodhurt.com/style.css: Not Found

    Here is my CSS
    [CSS moderated as per the Forum Rules. ]

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    You need to look for the call to style.css in your theme's header.php file.

  3. jamesinagiantpeach
    Member
    Posted 4 years ago #

    Hmm... I'm not seeing the problem in header.php

    http://wordpress.pastebin.com/XcNnQmRg

    Sorry there's still lots about proper page setups that I don't understand - maybe the problem is here?
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

  4. The problem is line 16:

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

    Since the file doesn't exist anyway, just remove it.

  5. jamesinagiantpeach
    Member
    Posted 4 years ago #

    You guys are wizards! Seriously, thanks... - now if I can just get this sucker to display in IE properly.

    http://www.jameslanmanandthegoodhurt.com

Topic Closed

This topic has been closed to new replies.

About this Topic