Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Tables problem
PostPosted: December 30th, 2007, 1:25 am 
Dragon Member
User avatar
Offline

Joined: December 27th, 2004, 2:17 am
Posts: 2883
RS Name: Southrend
RS Status: Classic
Tables aren't really user friendly anymore

Code:
Result:
[table]
[tr][td]cell 1[/td][td]cell 2[/td][/tr]
[tr][td]cell 3[/td][td]cell 4[/td][/tr]
[tr][td]cell 5[/td][td]cell 6[/td][/tr]
[tr][td]cell 7[/td][td]cell 8[/td][/tr]
[tr][td]cell 9[/td][td]cell 10[/td][/tr]
[tr][td]cell 11[/td][td]cell 12[/td][/tr]
[tr][td]cell 13[/td][td]cell 14[/td][/tr]
[/table]


Result:
cell 1cell 2
cell 3cell 4
cell 5cell 6
cell 7cell 8
cell 9cell 10
cell 11cell 12
cell 13cell 14

Notice the empty space between the table and result?



However this can be solved by writing down the table on a single line.
Code:
Result:
[table][tr][td]cell 1[/td][td]cell 2[/td][/tr][tr][td]cell 3[/td][td]cell 4[/td][/tr][tr][td]cell 5[/td][td]cell 6[/td][/tr][tr][td]cell 7[/td][td]cell 8[/td][/tr][tr][td]cell 9[/td][td]cell 10[/td][/tr][tr][td]cell 11[/td][td]cell 12[/td][/tr][tr][td]cell 13[/td][td]cell 14[/td][/tr][/table]


Result:
cell 1cell 2
cell 3cell 4
cell 5cell 6
cell 7cell 8
cell 9cell 10
cell 11cell 12
cell 13cell 14




The first code is much more easier to edit/read. However the result is bad.

_________________
Image
Proud RSB&B Member #570 since 12/27/04
Proud RSB&B Mod since 7/24/05


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: December 30th, 2007, 1:25 am 
Dragon Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject: Re: Tables problem
PostPosted: December 30th, 2007, 8:56 am 
Runite Member
Offline

Joined: December 27th, 2006, 4:14 pm
Posts: 562
Location: USA us
RS Name: Eynx
RS Status: P2P
Clan Name: Pierce The Sky
I don't know if its just you or what because they both look exactly the same to me.

_________________
Image
| Quest Cape Owner |


Top
 Profile  
 
 Post subject: Re: Tables problem
PostPosted: December 30th, 2007, 9:39 am 
Dragon Member
User avatar
Offline

Joined: December 27th, 2004, 2:17 am
Posts: 2883
RS Name: Southrend
RS Status: Classic
That's weird. I got this in both Firefox and IE7

http://img120.imageshack.us/img120/999/tableoq8.png

_________________
Image
Proud RSB&B Member #570 since 12/27/04
Proud RSB&B Mod since 7/24/05


Top
 Profile  
 
 Post subject: Re: Tables problem
PostPosted: December 30th, 2007, 9:43 am 
Runite Member
User avatar
Offline

Joined: February 18th, 2007, 1:28 pm
Posts: 598
Location: Mother's basement us
RS Name: Nightgunner5
RS Status: P2P
Clan Name: Bits and Bytes
The solution would be disabling the nl2br php function within a [table] tag. I don't know how you would do it, though.

_________________

Shane wrote:
Just be sure to let me know if they're male or female, sometimes it can be hard to tell :P


Top
 Profile  
 
 Post subject: Re: Tables problem
PostPosted: December 30th, 2007, 2:20 pm 
Site Owner
User avatar
Offline

Joined: September 9th, 2004, 7:39 pm
Posts: 3498 ca
RS Name: mike12088
RS Status: P2P
Clan Name: Bits and Bytes
Custom bbcode tags are useless for tables I guess. I'll have to code them directly in like I did on the last forums I guess, or add an option to ignore line breaks or something..

I'll add this to my list of things to do for the forums. It grows faster than it shrinks :oops:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies. Forum Index » RSBandB » RuneScape Bits & Bytes Site » Tables problem Page 1 of 1 [ 5 posts ]

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to: