tommyxv
05-28-2006, 06:15 AM
How do I set a table background to be XHTML valid??
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<A href="http://www.mysite.com/images/header.gif">[/CODE">http://www.mysite.com/images/header.gif">
I did this but it is not showing the image.
Add this to the CSS
.hdr {
background: url(http://www.mysite.com/images/header.gif;
}
And then change it to this:
<table class="hdr" width="100%" border="0" cellpadding="0" cellspacing="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="<A href="http://www.mysite.com/images/header.gif">[/CODE">http://www.mysite.com/images/header.gif">
I did this but it is not showing the image.
Add this to the CSS
.hdr {
background: url(http://www.mysite.com/images/header.gif;
}
And then change it to this:
<table class="hdr" width="100%" border="0" cellpadding="0" cellspacing="0">