for some reason my css it saying that is is missing a simi colon befor the lastnline , but i have looked and yet to see one. if i remove the line it goes away! Any ideas?

.nav{
    width:80px;
    height:15px;
    text-align:center;
    margin-top:5px;
    margin-left:3px;
    float:right;
    display:inline;
    padding:10px;
    background: #c96060; /* Old browsers */
    background: -moz-linear-gradient(top,  #c96060 0%, #bf4646 50%, #a50000 51%, #d83636 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c96060), color-stop(50%,#bf4646), color-stop(51%,#a50000), color-stop(100%,#d83636)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #c96060 0%,#bf4646 50%,#a50000 51%,#d83636 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #c96060 0%,#bf4646 50%,#a50000 51%,#d83636 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #c96060 0%,#bf4646 50%,#a50000 51%,#d83636 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #c96060 0%,#bf4646 50%,#a50000 51%,#d83636 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c96060',endColorstr='#d83636',GradientType=0 );
}

Recommended Answers

All 2 Replies

The css validator isn't the holy grail authority on css, it is just a tool. They even say that on the site. The css should work fine in most browsers. Even the site you got the css from will have massive amounts of warnings and errors. It is more common than not that sites will not validate all the way through the W3C validation tool.

Member Avatar for iamthwee

I wouldn't even bother with a css validator, what with css3 and all that. I would just use a HTML validator.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.