Page 1 of 1

Page Spacing Help

PostPosted: Mon Feb 14, 2011 4:56 pm
by Brian C
I've been working on updating and revamping the Classic Flatirons List and suddenly have a large gap between the section heading and the section bodies. How can I fix this? My html is not the best so I'm not sure how to help. Not sure if this is the problem but I'm opening and closing the lists with...

<table border="1" cellpadding="5">
<tbody><tr><th colspan="4">Top 10</th></tr>

Ideas?

Thanks.

Re: Page Spacing Help

PostPosted: Mon Feb 14, 2011 5:38 pm
by Sarah Simon
Hi Brian,

I'm afraid I've got no silver bullet for you, but here are some workarounds I've tried in the past.

1. Use the <format>...</format> tags around your HTML content.
2. Pull the HTML script into Notepad .txt, copy/paste, and re-insert to your SP page.
3. Pull the HTML script into MS Word and display formatting codes - look for anything wierd, eliminate wierd codes, pull script back into .txt and return to SP.
4. Finally, when in doubt, I eliminate any excess line spaceing within my HTML. I bunch everything up as closely as I can.

Fancy? No, but I usually expell these HTML spacing demons with one or more of these methods.

Good luck, and post again if you don't get this to work.

Sarah

Re: Page Spacing Help

PostPosted: Mon Feb 14, 2011 11:24 pm
by Brian C
Thanks for the ideas Sarah but after running through them the spacing seemed to get even worse. I'm sure I'm just missing something obvious but am not sure. Here is a sample of the html I'm using...

format>
<table border="1" cellpadding="5">
<tbody><tr><th colspan="4">Top 10</th></tr>
<tr><th>Rock</th><th>Route</th><th>Rating</th></tr>
<tr><td>First Flatiron</td><td><a href="http://www.summitpost.org/route/167600/first-flatiron-direct-east-face-5-6-.html">East Face Center</a></td><td>5.6S</td></tr>
<tr><td>Third Flatiron</td><td><a href="http://www.summitpost.org/route/167406/third-flatiron-standard-east-face.html">East Face</a></td><td>5.0-5.2</td></tr>
<tr><td>Third Flatiron</td><td>Friday's Folly</td><td>5.7</td><tr>
<td>Green Mtn. Pinnacle </td><td>Taking Care of Business</td><td>5.6</td></tr>
<tr><td>Stairway To Heaven</td><td><a href="http://www.summitpost.org/route/168284/skunk-canyon-stairway-to-heaven-5-4-.html">Stairway To Heaven</a> </td><td>5.3-5.4</td></tr>
<tr><td>The Backporch</td><td><a href="http://www.summitpost.org/route/320393/backporch-east-face.html">East Face</a></td><td>5.6</td></tr>
<tr><td>Pellaea</td><td><a href="http://www.summitpost.org/route/247245/pellaea-5-5-.html">East Face</a></td><td>5.5</td></tr>
<tr><td>The Fatiron</td><td><a href=http://www.summitpost.org/east-face/667773>East Face</a></td><td>5.3-5.4</td></tr>
<tr><td>The Maiden</td><td><a href="http://www.summitpost.org/route/167394/the-maiden-standard-route-north-face.html">North Face</a></td><td>5.6</td></tr>
<tr><td>The Matron</td><td>North Face</td><td>5.6</td></tr>
</tbody></table>
</format>


Any more ideas? Thanks again for the help.

Re: Page Spacing Help

PostPosted: Mon Feb 14, 2011 11:39 pm
by Brian C
Got it! I changed the opening and ending lines to <noformat> and it worked like a charm!