PDA

View Full Version : Making this code XHTML (easy for people wtih coding skills)


MaR?
06-27-2009, 07:39 AM
I cant validate this code, please help...

THANKS!

$perrow
<td class="$bgclass">
<div class="smallfont" id="picturebits" align="center">
<a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]&amp;pictureid=$picture[pictureid]"><img class="page" src="$vboptions[bburl]/$picture[thumburl]" alt="$picture[caption_preview]" border="0" style="padding:$stylevar[cellpadding]px; <if condition="!$usercss">border:solid $stylevar[cellspacing]px $stylevar[tborder_bgcolor]</if>" $picture[dimensions] /></a>
<br /> <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$picture[userid]" 2="$picture[musername]">$vbphrase[by_x]</phrase>
<br /> <strong>$vbphrase[description]</strong>: $picture[caption]
<if condition="$mod_options['album_picture_title']">
<br /> <strong>$vbphrase[album]</strong>: <a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]">$picture[albumstitle]</a>
</if>
</div>
</td>



Error: http://validator.w3.org/check?uri=www.altoforo.com&charset=%28detect+automatically%29&doctype=Inline&group=0





.

HMBeaty
06-27-2009, 07:42 AM
Where/how are you using this? Can you paste the entire template? Or is this it?

MaR?
06-27-2009, 07:45 AM
Is the entire template... I just omited to show the error:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.altoforo.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.654

MaR?
06-30-2009, 10:22 PM
No one????!!!

MaR?
07-02-2009, 10:16 PM
Pleaseeeeeeeeeeeeeeeeee

Dismounted
07-03-2009, 05:44 AM
I get a 100% pass with the link you posted...

MaR?
07-03-2009, 04:55 PM
After a week I delete:


<div class="smallfont" id="picturebits" align="center">
<a href="$vboptions[bburl]/album.php?$session[sessionurl]




<div class="smallfont" align="center">
<a href="$vboptions[bburl]/album.php?$session[sessionurl]


I dont know what would happen but without this I can validated....

deadlySniper
07-03-2009, 05:21 PM
I got a 100% Passed.
So it must be fixed, no?

MaR?
07-03-2009, 05:31 PM
I got a 100% Passed.
So it must be fixed, no?

After a week I delete:


<div class="smallfont" id="picturebits" align="center">
<a href="$vboptions[bburl]/album.php?$session[sessionurl]




<div class="smallfont" align="center">
<a href="$vboptions[bburl]/album.php?$session[sessionurl]


I dont know what would happen but without this I can validated....

Dismounted
07-04-2009, 06:44 AM
If that is all you removed, it looks like you had an incomplete tag there...

MaR?
07-04-2009, 03:47 PM
I Just delete this:

id="picturebits"

deadlySniper
07-04-2009, 03:47 PM
So is it fixed or not? Lol.

MaR?
07-04-2009, 03:52 PM
Yes... but I dont know if what I done is right... xd

deadlySniper
07-04-2009, 03:53 PM
Well If it's fixed, it's obviously right.
If the code that was wrong, came from your skin...
Then just re-upload your skin.