PDA

View Full Version : What the hell is its problem!?



Recursion
13-05-2007, 03:38 PM
Hello

Im trying to Validate the Maintanence Page of my new site but it says it has a problem with Line 21:


http://validator.w3.org/check?uri=http%3A%2F%2Fwww.habbolab.co.uk%2FMainta nence%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1 (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.habbolab.co.uk%2FMainta nence%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1)

Line 21:


<td background="spacer.gif" width="42" height="1"></td>
What is its freakin' problem - Btw, im making it Valid because I believe in keeping my code clean(ish).

RNelson
13-05-2007, 03:39 PM
I can't see no problem their :S

Recursion
13-05-2007, 03:39 PM
See what I mean?



Error Line 21 (http://validator.w3.org/check?uri=http&#37;3A%2F%2Fwww.habbolab.co.uk%2FMainta nence%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1#line-21), column 18: there is no attribute "background" .


It has no problem with any other one...

Invent
13-05-2007, 03:43 PM
background="" isnt a valid in your doctype.

Change to style="background-image: url(spacer.gif);"

That will make it valid :)

Recursion
13-05-2007, 03:44 PM
Its fine for every other cell in the table though?

Invent
13-05-2007, 03:45 PM
Perhaps when you fix line 21, it will give line 22 an error, then when you sort that out it displays the error on line 23, etc.

Splinter
13-05-2007, 03:45 PM
ha! To create a XHTML 1.0 Transitional site you need to use CSS otherwise its just HTML.

Recursion
13-05-2007, 03:55 PM
cant upload the fixed file, Pycan's down :/

Well, the cPanel and FTP



Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.habbolab.co.uk Port 80


:'(

ScottDiamond
13-05-2007, 05:57 PM
Making a maintenance page valid? Never heard of that before.

Recursion
13-05-2007, 05:58 PM
Lol i was bored :D d.w about it no though lol, im starting on my main site

Breakfloor
13-05-2007, 05:59 PM
sorry for random post. but i dont know.

Recursion
13-05-2007, 06:00 PM
don't worry, ive changed loads of stuff in it so its worse now because i cba to change everything else ;P

Want to hide these adverts? Register an account for free!