Soldato
- Joined
- 16 Dec 2003
- Posts
- 2,697
I'm having problems with putting my CSS and XHTML valid images on my website, it appears like this:
This is my XHTML code:
<div class="center_bottom_column_float_rigid">
<hr/>
<a class="css" href="http://jigsaw.w3.org/css-validator/" title="Valid CSS!"></a>
<a class="xhtml" href="http://validator.w3.org/check?uri=referer" title="Valid XHTML 1.0 Transitional"></a>
</div>
and here's my CSS code:
a.css
{
background: url("vcss.png") 0 0 no-repeat;
display: block;
margin-left: 300px;
margin-right: auto;
height: 31px;
width: 88px;
}
a.xhtml
{
background: url("valid-xhtml10.png") 0 0 no-repeat;
display: block;
margin-left: 400px;
margin-right: auto;
height: 31px;
width: 88px;
}
What am I doing wrong?
This is my XHTML code:
<div class="center_bottom_column_float_rigid">
<hr/>
<a class="css" href="http://jigsaw.w3.org/css-validator/" title="Valid CSS!"></a>
<a class="xhtml" href="http://validator.w3.org/check?uri=referer" title="Valid XHTML 1.0 Transitional"></a>
</div>
and here's my CSS code:
a.css
{
background: url("vcss.png") 0 0 no-repeat;
display: block;
margin-left: 300px;
margin-right: auto;
height: 31px;
width: 88px;
}
a.xhtml
{
background: url("valid-xhtml10.png") 0 0 no-repeat;
display: block;
margin-left: 400px;
margin-right: auto;
height: 31px;
width: 88px;
}
What am I doing wrong?