Posted by How to remove spaces created by coding?

☘ Nifur (side (#98977)

Bone Collector
View Forum Posts


Posted on
2018-03-21 05:55:10
I added a table in one of my threads, and it created a large space once I applied the table, it didn't show when I preview the post, nor outside lioden in some online coding test ground.
this is the thread in question
https://www.lioden.com/topic.php?id=304429305851
this is the beginning of my code
< table style="background:#bcc1c0;width:630px;height:70px;border:0px solid;text-align:right;" >
< tr >< td >< h3 >first of all, thank you all for stopping by. < /h3 >
< /td >< /tr >

thank you in advise



Hrt Icon 0 players like this post! Like?

Keina [Not Active] (#50109)

Lone Wanderer
View Forum Posts


Posted on
2018-03-21 18:53:48
Hiya!

For tables, you want to make sure that there are no extra spacing in between the <*tr*> tags as every new row causes a break automatically. Any extra indenting can cause it to break completely or add in invisible break(<*br*>) tags in the code despite it not being written in.

Example table code:
<*table*><*tr*><*th*>Header<*/*th><*/*tr><*tr*><*td*>Content<*/*td><*/*tr><*/*table>

I hope it helps!



Hrt Icon 0 players like this post! Like?

☘ Nifur (side (#98977)

Bone Collector
View Forum Posts


Posted on
2018-03-21 19:45:13
@Keina (#50109) : thank you!!! that worked!!



Hrt Icon 0 players like this post! Like?

Keina [Not Active] (#50109)

Lone Wanderer
View Forum Posts


Posted on
2018-03-22 04:07:13
No problem!



Hrt Icon 0 players like this post! Like?







Memory Used: 625.30 KB - Queries: 2 - Query Time: 0.00041 - Total Time: 0.00418s