World of KJ http://www.worldofkj.com/forum/ |
|
Small tables update http://www.worldofkj.com/forum/viewtopic.php?f=3&t=43169 |
Page 1 of 1 |
Author: | Nebs [ Fri Jul 18, 2008 6:15 pm ] | ||||||||||||||||||
Post subject: | Small tables update | ||||||||||||||||||
Before today, tables were "stretched" to fit full forum width. Now, that's changed. Now cells are as wide as one with most text in it. Something like this...
I think that's a better way to have them behave. Alternativelly, you can add custom cell width with new bbcode, [td1]. If you check previous table, code for it was... Code: [table=tablebg table1][tr=1][td=#FFFFFF,1,1][size=100]test[/size][/td][td=#FFFFFF,1,1][size=100]test[/size][/td][td=#FFFFFF,1,1][size=100]test[/size][/td][/tr][tr=1][td=#FFFFFF,1,1][size=100]-[/size][/td][td=#FFFFFF,1,1][size=100]-[/size][/td][td=#FFFFFF,1,1][size=100]-[/size][/td][/tr][/table] Regular [td] had 3 values there, colour of cell, class and colspan (I am not really sure what exactly last two do ![]()
And the code is... Code: [table=tablebg table1][tr=1][td1=#FFFFFF,1,1,100][size=100]100 pixels[/size][/td1][td1=#FFFFFF,1,1,200][size=100]200 pixels[/size][/td1][td1=#FFFFFF,1,1,300][size=100]300 pixels[/size][/td1][/tr][tr=1][td1=#FFFFFF,1,1,100][size=100]100 pixels[/size][/td1][td1=#FFFFFF,1,1,200][size=100]200 pixels[/size][/td1][td1=#FFFFFF,1,1,300][size=100]300 pixels[/size][/td1][/tr][/table] (for second row, it doesn't matter if you add different values for width, they stay the same as first row) That's it. Slightly complicated, and *not* in Krem's Excel2BB tool, but I still hope this might help some people. And no, nothing about Quick Reply at the moment, getluv. P.S. There are problems with this and prosilver, charts are still stretched. EDIT: Looks bloody horrible on prosilver. :/
|
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |