PDA

View Full Version : HTML Question


KWhit
02-24-2005, 07:29 PM
I am trying to put together some HTML formatting for my dynasty but I'm having some trouble. When I preview it locally in IE it comes out fine. When I post it here at FOFC, it comes out strange with a ton of white space before it.

My next post will be an example of what I'm talking about.

What am I doing wrong?

KWhit
02-24-2005, 07:30 PM
<table border="1" cellpadding="3" cellspacing="3" style="border-collapse: collapse" bordercolor="#C0C0C0" width="624" id="AutoNumber1">
<tr>
<td width="12" bgcolor="#800000" rowspan="3"><b><font color="#FFFFFF">1</font></b></td>
<td width="285" rowspan="3"><b>Las Vegas Legion (Chaos)</b></td>
<td width="66" rowspan="3"><img border="1" src="http://img.photobucket.com/albums/v684/KWhit/Las_Vegas_Logo.jpg" width="60" height="60"></td>
<td width="207" colspan="3"><b>Valentin Cineceros</b></td>
<td width="34" rowspan="3" bgcolor="#808080"><font color="#FFFFFF"><b>SP</b></font></td>
</tr>
<tr>
<td width="69" align="center" bgcolor="#FF0000"><b><font size="2">Stuff</font></b></td>
<td width="69" align="center" bgcolor="#FF0000"><b><font size="2">Control</font></b></td>
<td width="69" align="center" bgcolor="#FF0000"><b><font size="2">Movement</font></b></td>
</tr>
<tr>
<td width="69" align="center"><b><font size="2">78</font></b></td>
<td width="69" align="center"><b><font size="2">61</font></b></td>
<td width="69" align="center"><b><font size="2">81</font></b></td>
</tr>
<tr>
<td width="12" bgcolor="#800000" rowspan="3"><font color="#FFFFFF"><b>2</b></font></td>
<td width="285" rowspan="3"><b>Carson City Moonlite (Chaos)</b></td>
<td width="66" rowspan="3"><img border="1" src="http://img.photobucket.com/albums/v684/KWhit/Carson_City_Logo.jpg" width="60" height="60"></td>
<td width="207" colspan="3"><b>William &quot;Colonel&quot; Collins</b></td>
<td width="34" rowspan="3" bgcolor="#808080"><font color="#FFFFFF"><b>3B</b></font></td>
</tr>
<tr>
<td width="69" align="center" bgcolor="#FF0000"><font size="2"><b>Contact</b></font></td>
<td width="69" align="center" bgcolor="#FF0000"><font size="2"><b>Power</b></font></td>
<td width="69" align="center" bgcolor="#FF0000"><font size="2"><b>Eye</b></font></td>
</tr>
<tr>
<td width="69" align="center"><font size="2"><b>83</b></font></td>
<td width="69" align="center"><font size="2"><b>90</b></font></td>
<td width="69" align="center"><font size="2"><b>73</b></font></td>
</tr></table>

GoldenEagle
02-24-2005, 07:34 PM
I am having the same problem.

KWhit
02-24-2005, 07:35 PM
Help us Obi Wan Kenobi. You're our only hope.

sabotai
02-24-2005, 07:38 PM
The problem is the board interprets new lines as new lines. Basically all the spacing is the br's, p's and new lines in the HTML.

KWhit
02-24-2005, 07:43 PM
So I need to just make my HTML a single long string of crap?

sabotai
02-24-2005, 07:44 PM
Yup

EDIT: Why are your [br] wrote as [br /]. I've never seen that. (replace [] with <>)

GoldenEagle
02-24-2005, 07:47 PM
I fixed it by going into the edit screen and deleting all the white space.

Wolfpack
02-25-2005, 11:03 AM
Yup

EDIT: Why are your [br] wrote as [br /]. I've never seen that. (replace [] with <>)

That's probably the XML seeping through. In XML, you can't have an unclosed tag like in HTML. Therefore if you have a singleton tag like "br", the proper thing to do is to type "br /" betweeen the brackets.

KWhit
02-25-2005, 11:07 AM
Not sure why the tags were like that. I used Frontpage to start the tables and then cut and pasted the bits I needed into notepad to finish it up. I assume what your seeing was generated like that from FP.

I finally got it to look the way I want by deleting all the spacing and carriage returns in the text. Pain in my ass.

Mr. Wednesday
02-27-2005, 01:19 AM
If you've got, say, Excel, you might doing up your tables in that and pasting into the WYSIWYG here. It's worked perfectly when I've tried it.

KWhit
02-27-2005, 08:37 AM
I'll give that a go next time. Thanks.