Mezir
Joined: Aug 02, 2003
|
  Posted:
Nov 02, 2006 - 10:51 |
|
Nifty trick: The FUMBBL php form adds a <br /> tag for every line break in what you submit. This can seriously screw up table lay-outs unless you put all the code on a single line - which then becomes a female dog to edit. Adding // to the end of a line circumvents this action, because it comments out the <br />.
Code: | <table>//
<tr><td>//
Bla//
</tr></td>//
</table>// |
|
_________________ Build a man a fire and he's warm for a day; set a man on fire and he's warm for the rest of his life. |
|
Laviak
Joined: Jul 19, 2004
|
  Posted:
Nov 02, 2006 - 11:06 |
|
Mezir wrote: | Adding // to the end of a line circumvents this action, because it comments out the <br />. |
OK, that is way nicer than what i've been doing - very nice tip Mez. |
_________________ We Fink Wer Orks
--------
Help save blood bowl, foul an elf today!. |
|
BlackNWhiteDog
Joined: Feb 05, 2006
|
  Posted:
Nov 02, 2006 - 11:12 |
|
Astereth wrote: | Great topic, I'll be keeping an eye on it...
As an aside, did you create the gif in your sig? It's great |
yep, took a while to get right
Mizer wrote: | Nifty trick: The FUMBBL php form adds a <br /> tag for every line break in what you submit. This can seriously screw up table lay-outs unless you put all the code on a single line - which then becomes a female dog to edit. Adding // to the end of a line circumvents this action, because it comments out the <br />. |
didn't know that one, cheers Mizer!
(i'll b writing a table tutorial once i've covered the basics as their a bit more advanced) |
_________________ Shameless Advertising!
[url=http://www.nicklovick.co.uk/NLFPbutton.gif][/url] [url=http://www.nicklovick.co.uk/01_Fumbbl/BB7/7s.gif][/url] |
|
PARC
Joined: Sep 06, 2006
|
  Posted:
Nov 02, 2006 - 11:31 |
|
|
BlackNWhiteDog
Joined: Feb 05, 2006
|
  Posted:
Nov 02, 2006 - 11:54 |
|
|
PARC
Joined: Sep 06, 2006
|
  Posted:
Nov 03, 2006 - 16:31 |
|
Hehe i found your site from one team's bio when i was looking for the small icons small world |
|
|
BlackNWhiteDog
Joined: Feb 05, 2006
|
  Posted:
Nov 03, 2006 - 17:59 |
|
|
Laviak
Joined: Jul 19, 2004
|
  Posted:
Nov 09, 2006 - 09:42 |
|
Mezir wrote: | Nifty trick: The FUMBBL php form adds a <br /> tag for every line break in what you submit. This can seriously screw up table lay-outs unless you put all the code on a single line - which then becomes a female dog to edit. Adding // to the end of a line circumvents this action, because it comments out the <br />. |
This trick doesn't seem to work for me
But, I figured the idea was sound, and commenting it out with standard html comment tags:
Code: | some text that you <!--
-->want on one line |
worked a treat.
Here's a slightly more complex example:
Code: | <table style='border: solid 1px black; margin-left: auto; margin-right:auto;' border=0 cellspacing=0 cellpadding=5><tbody align=justify valign=top><!--
--> <tr style='background: #000000; color: white;'><!--
--> <th> </th><th>Coach</th><th>Team</th><th>Results</th><!--
--> </tr><!--
--> <tr class=odd><!--
--> <td>1</td><!--
--> <td><a href=http://fumbbl.com/~Patrician>Patrician</a></td><!--
--> <td><a href=http://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=225215>Northern Blight</a></td><!--
--> <td align=center><a href='http://fumbbl.com/FUMBBL.php?page=match&id=1435236'>2-0</a></td><!--
--> </tr> <!--
--> <tr class=even><!--
--> <td>2</td><!--
--> <td><a href=http://fumbbl.com/~xstatika>xstatika</a></td><!--
--> <td><a href=http://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=266851>Steelfist FC</a></td><!--
--> <td align=center><a href='http://fumbbl.com/FUMBBL.php?page=match&id=1447710'>0-2</a></td><!--
--> </tr> <!--
--> </tbody></table> |
|
_________________ We Fink Wer Orks
--------
Help save blood bowl, foul an elf today!.
Last edited by Laviak on %b %30, %2006 - %10:%Nov; edited 1 time in total |
|
Kalamona
Joined: Apr 21, 2005
|
  Posted:
Nov 09, 2006 - 11:28 |
|
some of the icon animations are great and tried to use them for my cheaters, but they dont seem to work. I think because they are in jpg format instead of gif. could u do them in gif pls?
thx |
|
|
Panda_
Joined: Jul 14, 2004
|
  Posted:
Nov 30, 2006 - 10:25 |
|
Mezir wrote: | Nifty trick: The FUMBBL php form adds a <br /> tag for every line break in what you submit. This can seriously screw up table lay-outs unless you put all the code on a single line - which then becomes a female dog to edit. Adding // to the end of a line circumvents this action, because it comments out the <br />.
Code: | <table>//
<tr><td>//
Bla//
</td></tr>//
</table>// |
|
It doesn't work here |
_________________ "Rien ne sert de partir a point, il vaut mieux courir."
Last edited by Panda_ on %b %03, %2006 - %15:%Dec; edited 3 times in total |
|
Laviak
Joined: Jul 19, 2004
|
  Posted:
Nov 30, 2006 - 10:27 |
|
Look three posts up Panda |
_________________ We Fink Wer Orks
--------
Help save blood bowl, foul an elf today!. |
|
Panda_
Joined: Jul 14, 2004
|
  Posted:
Nov 30, 2006 - 10:30 |
|
Laviak wrote: | Look three posts up Panda_
|
Ok, thanks so for a table it should work like that:
Code: |
--> <table><!--
--><tr><td><!--
-->Bla<!--
--></td></tr><!--
--></table><!-- |
|
_________________ "Rien ne sert de partir a point, il vaut mieux courir." |
|
BlackNWhiteDog
Joined: Feb 05, 2006
|
  Posted:
Dec 03, 2006 - 15:09 |
|
Laviak wrote: | Mezir wrote: | Nifty trick: The FUMBBL php form adds a <br /> tag for every line break in what you submit. This can seriously screw up table lay-outs unless you put all the code on a single line - which then becomes a female dog to edit. Adding // to the end of a line circumvents this action, because it comments out the <br />. |
This trick doesn't seem to work for me
|
Me neither!
What I do is add spaces so i have gaps where i need to make changes to tables.
The spaces do not show on the page |
_________________ Shameless Advertising!
[url=http://www.nicklovick.co.uk/NLFPbutton.gif][/url] [url=http://www.nicklovick.co.uk/01_Fumbbl/BB7/7s.gif][/url] |
|
BlackNWhiteDog
Joined: Feb 05, 2006
|
  Posted:
Jan 09, 2007 - 09:16 |
|
I've just updated the first post with how to change font colours.
I'll get round to explaining tables sometime in the future
Please keep your imput coming, I am learning new code all the time so any extra info that isn't posted in my first post would be appreciated.
Post it here and I'll add any new or usefull info in my first post! (have I missed any text formating code? (that works?))
Last of all, for my next post on tables I could do with being able to add some screen shots of tables.
How do I take screen shots??? I'm runing windows XP.
edit: Forgot to mention i'm writing an idiots guide to using vanGorn's roster harvester (as i'm an idiot myself). I haven't forgoten, I just haven't finished it yet |
_________________ Shameless Advertising!
[url=http://www.nicklovick.co.uk/NLFPbutton.gif][/url] [url=http://www.nicklovick.co.uk/01_Fumbbl/BB7/7s.gif][/url] |
|
MadTias
Joined: Jun 19, 2004
|
  Posted:
Jan 11, 2007 - 22:29 |
|
Is there a way to sort text into columns without using a table? |
|
|
|