Dalfort
Joined: Jun 23, 2008
|
  Posted:
Apr 24, 2009 - 02:57 |
|
Can anyone shed any light onto the reason/solution to this table inserting a large gap above itself?
http://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=479533
I put the button in to hide the problem but it does the same without the button...
Thanks in advance
Dalfort
the code:
Code: |
From the fetid swamps of Lustria Wot a Skink have travelled to pay homage to the ancient Bloodbowl Gods, their records shows the disapproval of the Gods with only 5 wins.
The goal of this team? to reach 100 games....Then 200 and 300 and then 500....Milestone reached 50 games :)
<p align="center"><input type="button" style='width:200px;' value="Postional History" onclick="x=document.getElementById('hide1');if(x.style.display != 'none'){x.style.display = 'none'; this.value='Show History'}else{x.style.display = 'block';this.value='Hide History';}"><div id=hide1 style='display:none'>
<table border="1">
<th>Round</th><th>Division</th><th>Position</th>
<tr align="center"><td>144</td><td>1</td><td>17</td></center></tr>
<tr align="center"><td>143</td><td>2</td><td>6</td></tr>
<tr align="center"><td>142</td><td>Q</td><td>31</td></tr>
<tr align="center"><td>140</td><td>Q</td><td>31</td></tr>
<tr align="center"><td>139</td><td>2</td><td>14</td></tr>
<tr align="center"><td>138</td><td>Q</td><td>7</td></tr>
<tr align="center"><td>135</td><td>Q</td><td>14</td></tr>
<tr align="center"><td>133</td><td>2</td><td>11</td></tr>
<tr align="center"><td>132</td><td>2</td><td>11</td></tr>
<tr align="center"><td>131</td><td>Q</td><td>36</td></tr>
<tr align="center"><td>130</td><td>3</td><td>10</td></tr>
<tr align="center"><td>129</td><td>2</td><td>15</td></tr>
<tr align="center"><td>128</td><td>2</td><td>12</td></tr>
<tr align="center"><td>127</td><td>3</td><td>10</td></tr>
<tr align="center"><td>126</td><td>Q</td><td>23</td></tr>
</table>
|
|
|
|
G_Force
Joined: Aug 19, 2004
|
  Posted:
Apr 24, 2009 - 03:18 |
|
yes it the line breaks that fumbbl inserts when you use enter to space your table nicely.
you have to comment out the breaks
try this
Code: |
From the fetid swamps of Lustria Wot a Skink have travelled to pay homage to the ancient Bloodbowl Gods, their records shows the disapproval of the Gods with only 5 wins.
The goal of this team? to reach 100 games....Then 200 and 300 and then 500....Milestone reached 50 games :)
<p align="center"><input type="button" style='width:200px;' value="Postional History" onclick="x=document.getElementById('hide1');if(x.style.display != 'none'){x.style.display = 'none'; this.value='Show History'}else{x.style.display = 'block';this.value='Hide History';}"><div id=hide1 style='display:none'><!--
--><table border="1"><!--
--><th>Round</th><th>Division</th><th>Position</th><!--
--><tr align="center"><td>144</td><td>1</td><td>17</td></center></tr><!--
--><tr align="center"><td>143</td><td>2</td><td>6</td></tr><!--
--><tr align="center"><td>142</td><td>Q</td><td>31</td></tr><!--
--><tr align="center"><td>140</td><td>Q</td><td>31</td></tr><!--
--><tr align="center"><td>139</td><td>2</td><td>14</td></tr><!--
--><tr align="center"><td>138</td><td>Q</td><td>7</td></tr><!--
--><tr align="center"><td>135</td><td>Q</td><td>14</td></tr><!--
--><tr align="center"><td>133</td><td>2</td><td>11</td></tr><!--
--><tr align="center"><td>132</td><td>2</td><td>11</td></tr><!--
--><tr align="center"><td>131</td><td>Q</td><td>36</td></tr><!--
--><tr align="center"><td>130</td><td>3</td><td>10</td></tr><!--
--><tr align="center"><td>129</td><td>2</td><td>15</td></tr><!--
--><tr align="center"><td>128</td><td>2</td><td>12</td></tr><!--
--><tr align="center"><td>127</td><td>3</td><td>10</td></tr><!--
--><tr align="center"><td>126</td><td>Q</td><td>23</td></tr><!--
--></table>
|
|
_________________ D&D
Grudge League
World Cup |
|
Woodstock
Joined: Dec 11, 2004
|
  Posted:
Apr 24, 2009 - 03:22 |
|
Seems about right |
|
|
Vol
Joined: Sep 19, 2008
|
  Posted:
Apr 24, 2009 - 03:29 |
|
G Force, that helps. I would just edit the table, the do a global search replace and remove the returns. This is nice. |
|
|
shadow46x2
Joined: Nov 22, 2003
|
  Posted:
Apr 24, 2009 - 05:09 |
|
Vol wrote: | G Force, that helps. I would just edit the table, the do a global search replace and remove the returns. This is nice. |
you can just remove the returns, but what G_force suggests allows you to keep the logical format of a table that html would have, and make it easier on the eye for future editing...
i used to remove all the carriage returns on my tables, and have one big block of text, but it's a nightmare...
after i started putting comments in to format things, life became soooooo much easier...
--j |
_________________
origami wrote: | There is no god but Nuffle, and Shadow is his prophet. |
|
|
G_Force
Joined: Aug 19, 2004
|
  Posted:
Apr 24, 2009 - 15:47 |
|
here's the comparissson with the linebreaks removed.
Code: |
<p align="center"><input type="button" style='width:200px;' value="Postional History" onclick="x=document.getElementById('hide1');if(x.style.display != 'none'){x.style.display = 'none'; this.value='Show History'}else{x.style.display = 'block';this.value='Hide History';}"><div id=hide1 style='display:none'><table border="1"><th>Round</th><th>Division</th><th>Position</th><tr align="center"><td>144</td><td>1</td><td>17</td></center></tr><tr align="center"><td>143</td><td>2</td><td>6</td></tr><tr align="center"><td>142</td><td>Q</td><td>31</td></tr><tr align="center"><td>140</td><td>Q</td><td>31</td></tr><tr align="center"><td>139</td><td>2</td><td>14</td></tr><tr align="center"><td>138</td><td>Q</td><td>7</td></tr><tr align="center"><td>135</td><td>Q</td><td>14</td></tr><tr align="center"><td>133</td><td>2</td><td>11</td></tr><tr align="center"><td>132</td><td>2</td><td>11</td></tr><tr align="center"><td>131</td><td>Q</td><td>36</td></tr><tr align="center"><td>130</td><td>3</td><td>10</td></tr><tr align="center"><td>129</td><td>2</td><td>15</td></tr><tr align="center"><td>128</td><td>2</td><td>12</td></tr><tr align="center"><td>127</td><td>3</td><td>10</td></tr><tr align="center"><td>126</td><td>Q</td><td>23</td></tr></table>
|
doesn;t look too bad for now but another few seasons or if you think of another groovy piece of fluff for the bio and you'll be having an editing hightmare.
especially when the bio edit screen is about the size of a mobile phone not full screen like the forum pages. |
_________________ D&D
Grudge League
World Cup |
|
Astarael
Joined: Aug 14, 2005
|
  Posted:
Apr 24, 2009 - 16:20 |
|
I just use spaces instead of enter to push things to a new line XD |
_________________ Oh my. |
|
shadow46x2
Joined: Nov 22, 2003
|
  Posted:
Apr 24, 2009 - 20:10 |
|
G_Force wrote: | especially when the bio edit screen is about the size of a mobile phone not full screen like the forum pages. |
fyi...
seraphim's enhanced editor script for greasemonkey gives you a much much larger edit window
--j |
_________________
origami wrote: | There is no god but Nuffle, and Shadow is his prophet. |
|
|
G_Force
Joined: Aug 19, 2004
|
  Posted:
Apr 24, 2009 - 23:06 |
|
i knew that, i use but but if you is wise enough for firefox and greasemonkey scripts then you probably already know about comments too |
_________________ D&D
Grudge League
World Cup |
|
Dalfort
Joined: Jun 23, 2008
|
  Posted:
Apr 28, 2009 - 12:22 |
|
Thank you so much guys.... now if you could just sort out my PC things would be peachy
I have had no internet for a couple of days and only just got the update email
so thanks again i'll edit straight away
Dalfort |
_________________
|
|
|