PDA

View Full Version : Problem with breaks


shadowdancer36
08-07-2006, 08:47 PM
I'm trying to format a table with the following html:

<table>
<tr>
<td width="94" height="81"><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td>
<td width="199" valign="top">Jonathan Cohn, MD, MS
Site Director
Email:<a href="mailto:jcohn@intmed.wayne.edu">jcohn@med.wayne.edu</a>
</td>
</tr>
<tr>
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td>
<td valign="top">Mary Rose Forsyth, MSN, WHNP
Project Manager
Email:<a href="mailto:forsyth@sun.science.wayne.edu">forsyth@sun.science.wayne.edu</a></td>
</tr>
<tr>
<td height="122"><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td>
<td valign="top">Sharon Racicot, BA
Education Coordinator
Email:<a href="mailto:sracicot@sun.science.wayne.edu">sracicot@sun.science.wayne.edu</a></td>
</tr>
<tr>
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td>
<td valign="top">Arthur King
Webmaster/Research Technician
Email:<a href="mailto:ar3431@wayne.edu">ar3431@wayne.edu</a></td>
</tr>
<tr>
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td>
<td valign="top">Elizabeth Pillon, BS
Project Assistant
Email:<a href="mailto:epillon@sun.science.wayne.edu">epillon@sun.science.wayne.edu</a></td>
</tr>
<tr>
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td>
<td valign="top">Raju Bhowmick, MSME
Data Manager
Email:<a href="mailto:ar3957@wayne.edu">ar3957@wayne.edu</a></p> </td>
</tr>
</table>


For whatever reason when the page shows, it's a huge space above the table. Any clue to why this was be? It's like a bunch of BR's in front of it.
Here's the direct link here:

http://www.matecmichigan.org/index.php?page=contactus

Zachery
08-07-2006, 09:24 PM
Because for whatever reason you have a line break on almost every line


<table><br />
<tr><br />
<td width="94" height="81"><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td><br />
<td width="199" valign="top">Jonathan Cohn, MD, MS <br />
Site Director<br />
Email:<a href="mailto:jcohn@intmed.wayne.edu">jcohn@med.wayne.edu</a><br />
</td><br />
</tr><br />
<tr><br />
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td><br />
<td valign="top">Mary Rose Forsyth, MSN, WHNP<br />
Project Manager<br />
Email:<a href="mailto:forsyth@sun.science.wayne.edu">forsyth@sun.science.wayne.edu</a></td><br />
</tr><br />
<tr><br />
<td height="122"><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td><br />
<td valign="top">Sharon Racicot, BA <br />
Education Coordinator<br />
Email:<a href="mailto:sracicot@sun.science.wayne.edu">sracicot@sun.science.wayne.edu</a></td><br />
</tr><br />
<tr><br />
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td><br />
<td valign="top">Arthur King<br />
Webmaster/Research Technician<br />
Email:<a href="mailto:ar3431@wayne.edu">ar3431@wayne.edu</a></td><br />
</tr><br />
<tr><br />
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td><br />
<td valign="top">Elizabeth Pillon, BS<br />
Project Assistant<br />
Email:<a href="mailto:epillon@sun.science.wayne.edu">epillon@sun.science.wayne.edu</a></td><br />
</tr><br />
<tr><br />
<td><img src="http://www.matecmichigan.org/images/DSC01226ss.jpg" width="90" height="120"/></td><br />
<td valign="top">Raju Bhowmick, MSME<br />
Data Manager<br />
Email:<a href="mailto:ar3957@wayne.edu">ar3957@wayne.edu</a></p> </td><br />
</tr><br />
</table>

Our Sponsors
 

shadowdancer36
08-08-2006, 07:16 AM
Well where are they coming from? I mean it's not in the code (as u can see). It's like the pages are automatically inserting them. The code I past into the acp is completely different from what you and I see in the source. Even from the code you see, it's not a bunch of BR's at the top. That's the main issue is the br's before the table itself.

eJM
08-08-2006, 10:38 AM
What editor are you using to write the code? I have seen editors add a <br /> every time you hit Enter to go to the next line.

Jim

Our Sponsors
 

shadowdancer36
08-10-2006, 04:53 PM
What editor are you using to write the code? I have seen editors add a <br /> every time you hit Enter to go to the next line.

Jim

Yea
I paid close attention to that. I did the code in note pad. No hidden text.