DanUK
10-25-2003, 02:29 PM
Hi there.
Another qu ;).
When validating my site, I get these 3 errors:
Line 32, column 15: there is no attribute "BACKGROUND" (explain...).
<td background="theme/forums/images/pl_bdr_3.gif" class="gensmall" width="100%">
^
Line 92, column 26: there is no attribute "HEIGHT" (explain...).
<table width="150" height="23" border="0" cellpadding="0" cellspacing="0" backgr
^
Line 92, column 85: there is no attribute "BACKGROUND" (explain...).
...dding="0" cellspacing="0" background="theme/images/block-title.gif">
Line 32:
<td background="theme/forums/images/pl_bdr_3.gif" class="gensmall" width="100%"><img src="theme/forums/images/spacer.gif" width="200" height="12" alt="theme image" /></td>
Line 92:
<table width="150" height="23" border="0" cellpadding="0" cellspacing="0" background="theme/images/block-title.gif">
To try and rid this so it's w3 compliant, I added the following CSS:
.theme1 {
background-image: url('theme/forums/images/pl_bdr_3.gif');
}
.theme2 {
background-image: url('theme/images/block-title.gif');
height : 23px;
}
I then changed the lines to:
32:
<td class="theme1" width="100%"><img src="theme/forums/images/spacer.gif" width="200" height="12" alt="theme image" /></td>
92:
<table class="theme2" width="150" border="0" cellpadding="0" cellspacing="0">
However, the two images do not load from this, leaving the website looking very odd indeed!
Any advice on this is much appreciated.
I have attached my CSS as txt-file :)
Thanks.
Another qu ;).
When validating my site, I get these 3 errors:
Line 32, column 15: there is no attribute "BACKGROUND" (explain...).
<td background="theme/forums/images/pl_bdr_3.gif" class="gensmall" width="100%">
^
Line 92, column 26: there is no attribute "HEIGHT" (explain...).
<table width="150" height="23" border="0" cellpadding="0" cellspacing="0" backgr
^
Line 92, column 85: there is no attribute "BACKGROUND" (explain...).
...dding="0" cellspacing="0" background="theme/images/block-title.gif">
Line 32:
<td background="theme/forums/images/pl_bdr_3.gif" class="gensmall" width="100%"><img src="theme/forums/images/spacer.gif" width="200" height="12" alt="theme image" /></td>
Line 92:
<table width="150" height="23" border="0" cellpadding="0" cellspacing="0" background="theme/images/block-title.gif">
To try and rid this so it's w3 compliant, I added the following CSS:
.theme1 {
background-image: url('theme/forums/images/pl_bdr_3.gif');
}
.theme2 {
background-image: url('theme/images/block-title.gif');
height : 23px;
}
I then changed the lines to:
32:
<td class="theme1" width="100%"><img src="theme/forums/images/spacer.gif" width="200" height="12" alt="theme image" /></td>
92:
<table class="theme2" width="150" border="0" cellpadding="0" cellspacing="0">
However, the two images do not load from this, leaving the website looking very odd indeed!
Any advice on this is much appreciated.
I have attached my CSS as txt-file :)
Thanks.