CSS Advisor

CSS Stylesheet help

by JenniferMayOBrienHatesCSS on June 14, 2010 Avg Rating 3.7 (6)   |   Log in to rate post.

Tagged with Opera 8.0 , Safari 3 , Explorer 6.0 , Firefox 3.0 , Explorer 8.0 , Safari 2.0 , Opera 9.0 , Explorer 7.0 , Firefox 1.5 , Explorer for Mac , Stylesheet


When I check browser compatibility, I get one error, the link to my stylesheet. it appears fine when I preview it in safari, firefox and opera. <link href="obrien_styles.css" rel="stylesheet" type="text/css" /> This is the highlighted "error"


I would like a solution please.

Detailed description

 <link href="obrien_styles.css" rel="stylesheet" type="text/css" /> This is the highlighted "error". - Why would that be?? It is working fine in the preview. I launch in 2 days. Please help.

I've also attached a screen shot of the error I get after checking browser compatibility. 


Comments (7)

To add a comment, please Log in.

Problem in style sheet

I had the same problem, apparently all I had to do was remove the alignment line in the stylesheet for the main container and it was fixed.

It works

Thanks  Ricardo, I cut the "text/css" and Its working

I hope this helps you in time

I Had the same problem an browser compatibility error
I use this to call my css exstenal file:
<link rel="stylesheet" type="text/css" href="_Css/Defalt.css" />  
The error was in the css file::
@charset "utf-8";
/* CSS Document */
/*<style type="text/css">*/
#Site {
once I Comented the styles type and the style tag at end of my css it worked with no error on any browser

type="text/css" correction 2

You don't need type="text/css" in HTML5 though (just as you don't need type="text/javascript" either), for other DOCTYPE versions you do need it.

type="text/css" correction

Sorry, my mistake, of course you need it, what your problem might be is that there should be a compatibility error -inside- your CSS file. Validate your CSS with the W3C CSS Validator, here:


No need to have type="text/css" in your link to the CSS file.

Browser compatibility

I get the same thing also. The problem is not with your link to your CSS file, but the problem is an error some where in your style sheet.

In the "browser compatibility box" there should be a line that gives the error message, if you right click on that, it will have an item on the menu that says "Open Results in Browser" when your browser opens the report will have something like this "Found 1 errors in style.css". So it's telling me to look in my style.css for an error. I hope this helps.

CSS Advisor home
Submit a post



Internet Explorer (103)
Mozilla/Firefox (52)
Opera (18)
Safari (38)
CSS Properties
Background (25)
Border (10)
Color (10)
Float (23)
Font (6)
Margin (11)
Padding (9)
Position (40)
Text (30)
Width/Height (27)