Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 04:11:52 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: problems validating the code  (Read 395 times)
tsb

Offline Offline

Posts: 42


« on: March 08, 2008, 06:57:46 PM »

Im not sure if I can validate a php file, yet when I did it came up with alot of errors, Its sort of worried me if I should continue to use web baker or not, as I would like it to be ok through the different tests,

the one Im looking at is at http://validator.w3.org/check?uri=http%3A%2F%2Fwww.kttchurch.org.uk%2F&charset=%28detect+automatically%29&doctype=Inline&group=0&No200=1&st=1

hope you might be able to help me out, or should I post my files?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: March 08, 2008, 07:15:45 PM »

Hello,

try using "/>" instead of ">".

Matthias
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« Reply #2 on: March 08, 2008, 10:52:05 PM »

but ONLY do that for <br /> tags. NOT your <div id="something"> tags.

The "/>" is used for tags that don't have any content between opening and closing tags.

<div id="something></div>
is the same as
<div id="something" />

<div id="something" />Something to display</div>
is wrong.


Ruud
Logged

Professional WebsiteBaker Solutions
tsb

Offline Offline

Posts: 42


« Reply #3 on: March 09, 2008, 01:58:02 AM »

Ive got three errors now, I needed to put the /> in the search part. I need to find out where 108 and 109 is in my code now though, might be the login part or something not sure though,

thanks for your input guys,

ah missed another /> its now valid, thanks, I can now go to sleep....
« Last Edit: March 09, 2008, 02:06:24 AM by tsb » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!