|
-
Dec 16th, 2002, 08:54 PM
#1
Thread Starter
Frenzied Member
HTML 4.01 Traditional (I have ... :SOLVED:
OK, I used the HTML Validator at:
http://validator.w3.org/
To check one of my sites (And from a wooping 49 errors on my page, i have got down to a pittiful 3 errors )
(Damn Alt="" was needed, and <td border="0"> needed 2 b <td>, mostly)
Anyhow,
I am lost at these three errors:
Line 54, column 53: there is no attribute "BACKGROUND" (explain...).
...eight="19" align="center" background="themes/subGreen/images/1left.gif"><a hr
^
Line 130, column 81: there is no attribute "BACKGROUND" (explain...).
...or="#EEFFEE" width="100%" background="themes/subGreen/images/blockhead.gif">
^
Line 177, column 17: document type does not allow element "UL" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
<ul type="square">
^
I have Background="themes.....gif" on a lot of cell's, but it is only showing these two cell's, as the bg image causing a problem.
I would use CSS, but a lot of ppl have problems with CSS (older browsers & all), so i limit CSS to just text.
Next: The <ul> thing,
My HTML is:
Code:
175: You can add YOUR 468*60px Banner Image And Small Text Ad, to a pop up window / inline banner, in exchange for you allowing other members to add their adverts onto your site in return.<BR>
176: <BR>
> 177: <UL type="square">
178: <LI>You get 1 Credit for showing an Ad-Exchange Advert on your site.</LI>
179: <LI>You get 0.25 Credits for your referals showing an Ad-Exchange Advert on their site.</LI>
180: <LI>It Costs you 2 Credits to show YOUR Advert on other members websites.</LI>
> 181: </UL>
182: In Essence, You get a FAIR 2:1 Hit ratio, with a decent referal "Profit", and support!
(The area within the <ul> is marked with a >)
The URL to the validator results is:
http://validator.w3.org/check?uri=ht...tomatically%29
NE 1 wanna help me wiv these plz?
Tnx
Last edited by wpearsall; Dec 17th, 2002 at 05:01 PM.
Wayne
-
Dec 17th, 2002, 06:09 AM
#2
Frenzied Member
Well you seem to have gotten rid of the UL thing (probably you had it within the wrong element or something?), but the background thing, I'm pretty sure that's not legal for table cells. Try removing the ones that are giving you errors, and you may find that the others then cause errors. Personally I wouldn't worry about old browsers, and just go with CSS. It makes site maintanence so much easier I think it's worth not catering for the old browsers. Plus it's better for accessibility if you use it properly.
-
Dec 17th, 2002, 05:00 PM
#3
Thread Starter
Frenzied Member
-
Dec 17th, 2002, 05:36 PM
#4
Frenzied Member
Sure you can use relative URLs. Something like background-image: url('dir/file.png'); should work, don't know why it didn't for you. The only thing I can think of is if the code is in an external CSS file, then the URI is relative to the CSS file, not the HTML file.
-
Dec 17th, 2002, 10:07 PM
#5
Thread Starter
Frenzied Member
yeh i know, but i worked around it: I used: URL('./url.gif'); (pretty easy )
Tnx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|