Page 1 of 1

Help needed to learn html

Posted: Sun Feb 12, 2006 2:17 pm
by matthijs
Hi,
I thought I knew my way in (x)html/css land, but now i'm lost. Need to do some maintainance on a site for a new client. Can someone help me out. What does this mean?

Code: Select all

<tr bgcolor="#FFFFFF">
<td><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b>
<font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><b> </b><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"> <b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><b><br>
<?php include ("banner.txt"); ?>                      </b></font></font></b></font></font></font></b></font></font></font></b></font> </font></font></b></font></font></font></b> </font></font></font></b></font></font></font></b></font></font></font></b></font></font> </font></b></font></font><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> <font size="1" color="#000000"><b><font color="#990099" size="3" face="Arial, Helvetica, sans-serif"> <font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"><font size="1" color="#000000"><b> <font color="#990099" size="3" face="Arial, Helvetica, sans-serif"><font face="Arial, Helvetica, sans-serif" size="2" color="#203d8d"> </font></font></b> </font></font></font></b></font></font></td>
</tr>
I didn't make this up 8O

[edit: sorry if it wasn't clear, this was meant ironically... that's why i posted in general chat]

Posted: Sun Feb 12, 2006 2:19 pm
by feyd
what does what mean? Most of that code changes the font displayed, its color, or whether or not it is bold.

Posted: Sun Feb 12, 2006 2:34 pm
by Benjamin
I think it means you shouldn't use Microsoft Frontpage :D

Posted: Sun Feb 12, 2006 2:37 pm
by Benjamin
In case you were serious, you can reduce it to this...

Code: Select all

<tr bgcolor="#FFFFFF">
<td><b><br  /><?php include ("banner.txt"); ?></b></td>
</tr>

Posted: Sun Feb 12, 2006 2:40 pm
by feyd
To fix it, break it down into a structured heirarchy so you can visually see what's being done element by element. (Each element gets a line by itself, children are indented, etc. After you can see it in a structure, you can remove redundancies. Once that is done, convert the font tags to either spans or some other more compliant form.

Re: Help needed to learn html

Posted: Sun Feb 12, 2006 5:03 pm
by josh
matthijs wrote:[edit: sorry if it wasn't clear, this was meant ironically... that's why i posted in general chat]
HAHAHA I was like wha....

If that wasn't created by an editor whoever wrote that needs some serious help!! :lol: :lol:

Posted: Mon Feb 13, 2006 1:07 am
by matthijs
Just wait till I'm finished cleaning that up. Then I'll need some serious help :) or at least a loooong break away from my monitor ....

(p.s. sorry for the confusion guys)