W3C CSS Validator results for http://www.java2s.com/Code/HTMLCSSDemo/mlpdesign03.htm (CSS level 3 + SVG)

Congratulations! No Error Found.

This document validates as CSS level 3 + SVG !

To show your readers that you've taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the XHTML you could use to add this icon to your Web page:

Valid CSS!
<p>
    <a href="http://jigsaw.w3.org/css-validator/check/referer">
        <img style="border:0;width:88px;height:31px"
            src="http://jigsaw.w3.org/css-validator/images/vcss"
            alt="Valid CSS!" />
    </a>
</p>
            
Valid CSS!
<p>
<a href="http://jigsaw.w3.org/css-validator/check/referer">
    <img style="border:0;width:88px;height:31px"
        src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
        alt="Valid CSS!" />
    </a>
</p>
        

(close the img tag with > instead of /> if using HTML <= 4.01)

If you like, you can download a copy of this image to keep in your local web directory, and change the XHTML fragment above to reference your local image rather than the one on this server.

If you would like to create a link to this page (i.e., this validation result) to make it easier to re-validate this page in the future or to allow others to validate your page, the URI is:

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.java2s.com%2FCode%2FHTMLCSSDemo%2Fmlpdesign03.htm
or
http://jigsaw.w3.org/css-validator/check/referer (for HTML/XML document only)

(Or, you can just add the current page to your bookmarks or hotlist.)

↑ Top

Valid CSS information

body {
background : url(mlpdesign03-img/bg.gif) 50% 0 repeat-y #555;
color : #ccc;
text-align : center;
font : normal normal 90% "Trebuchet MS", sans-serif;
margin : 0;
}
img {
border : 0;
}
h1 {
background : #000;
color : #9c3;
font-weight : bold;
font-size : 1.4em;
margin : 0;
padding-top : 6px;
}
h2 {
background : #000;
color : #9c6;
font-weight : bold;
font-size : 1em;
margin : 0;
padding-top : 4px;
}
h3 {
border-bottom : 1px solid #ccc;
padding-bottom : 10px;
font-size : 1em;
font-weight : lighter;
letter-spacing : 0.1em;
clear : both;
}
a:link, a:visited, a:active {
background-color : inherit;
text-decoration : none;
color : #9c3;
}
a:hover {
background-color : inherit;
text-decoration : none;
color : #9f3;
}
form ul {
list-style : none;
margin-left : 75px;
padding : 1px;
}
strong {
background : #000;
text-decoration : none;
color : #9c6;
font-weight : normal;
}
.button {
text-align : center;
padding : 10px 0;
}
.spacer {
height : 2px;
clear : both;
}
#header- {
width : 699px;
height : 160px;
margin : auto;
background : url(mlpdesign03-img/logo.gif) 0 50% no-repeat;
}
#header-h1 {
background-color : #9c3;
color : #333;
width : 175px;
margin : 50px 0 0 8px;
text-align : center;
float : left;
}
#main {
width : 725px;
margin : auto;
clear : both;
}
* html body #main {
width : 751px;
}
#content {
padding-top : 12px;
float : left;
width : 62%;
font-size : 0.95em;
text-align : left;
}
#content p {
line-height : 1.35em;
word-spacing : 0.2em;
text-align : justify;
}
#content ul {
list-style : none;
margin-left : 30px;
padding : 1px;
text-align : left;
}
#content ul li {
padding-left : 15px;
background : url(mlpdesign03-img/arw.gif) 0 3px no-repeat #000;
color : inherit;
text-align : left;
}
#content ol {
margin-left : 20px;
text-align : left;
}
* html body #content ol {
margin-left : 60px;
text-align : left;
}
#sidebar {
float : left;
margin : 0 25px 0 13px;
width : 198px;
text-align : left;
}
#sidebar h1 {
background : url(mlpdesign03-img/menu.gif) 50% 0 no-repeat #9c3;
color : #fff;
font-weight : 600;
font-size : 1.1em;
line-height : 30px;
margin : 0;
padding-left : 10px;
text-align : left;
}
#sidebar h2 {
background : #9c3;
color : #fff;
font-weight : 600;
font-size : 1.1em;
line-height : 30px;
margin : 0;
padding-left : 10px;
text-align : left;
}
#sidebar ul {
margin : 0;
padding : 0;
text-align : left;
}
#sidebar li {
border-bottom : 1px solid #cdc;
display : block;
border-top : 1px solid #fff;
list-style : none;
text-align : left;
}
#sidebar li a, #sidebar li a:link, #sidebar li a:visited {
background : #dec;
color : #666;
display : block;
padding : 8px 4px 8px 15px;
text-decoration : none;
font-size : 0.75em;
text-align : left;
}
#sidebar li a:hover {
background : #efd;
color : #000;
display : block;
text-align : left;
}
#sidebar .off, #sidebar .off a {
background : #dec;
color : #666;
padding : 0 8px;
text-align : center;
line-height : 1.6em;
font-size : 8pt;
}
.gallery {
width : 430px;
margin : 10px 0 10px 15px;
text-align : left;
}
.thumb {
margin : 10px 20px 10px 0;
float : left;
width : 120px;
text-align : center;
font-size : 0.9em;
}
.thumb .img {
display : inline;
border : #777 solid 1px;
width : 120px;
height : 90px;
}
.desc {
width : 295px;
margin : 0;
float : right;
text-align : justify;
font-size : 0.9em;
word-spacing : -0.25em;
}
* html body .thumb {
margin : 5px 15px 5px 0;
}
* html body .desc {
margin : 5px 8px 0 0;
}
#footer {
width : 700px;
height : 40px;
background : url(mlpdesign03-img/footertop.gif) 50% 0 no-repeat #000;
color : #333;
font-size : 0.75em;
margin : 0 auto;
padding-top : 25px;
text-align : center;
clear : both;
}
#footer a:link, #footer a:visited, #footer a:active {
background : #9c3;
text-decoration : none;
color : #333;
}
#footer a:hover {
background : #9c3;
text-decoration : none;
color : #fff;
}

↑ Top