Author |
Topic |
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 06 October 2003 : 11:43:19
|
Hi, I've made a slight change to the layout of default.asp, removing the "Topics" and "Posts" columns, and added a (nn posts in nn topics) line to the description of the forum.
That works fine, but I'm having trouble removing the columns in the header. If I remove the "Topics" and "Posts" columns and expand the "Forum" column by adding "colspan=3" to it, the lines which separate the columns vanish.
I've tried all sorts of combinations and can't sort this out, am I overlooking something obvious, or could someone help me out? (See the following pic for details of the behaviour, the icons aren't sthere as I've used a "view source" and saved the file to work on before attempting to hack the asp, so that's not a problem..
Screen when I've removed the columns with the Topics and Posts:-
Screen when I've made the "Forum" column colspan=3
Thanks for any ideas. |
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 06 October 2003 : 13:33:54
|
At some point you'll need to wrestle with the sGetColspan(6,5) function. This essentially determines the colspan value depending on the current users status. If your removing one colum from the layout deduct 1 from each value - sGetColspan(6,5) becomes sGetColspan(5,4) |
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
|
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 06 October 2003 : 19:53:24
|
Thanks for the advice - I get the feeling I might have done colspan=2 on the forum description, will check that out when I go to work tomorrow. I'll take a look at the sGetColSpan function too..
It's one of those things where I've been staring at it so long that I lost the plot on where I might be going wrong, hopefully I'll be able to fix it tomorrow, I'll let you know!
Thanks again,
John |
|
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 07 October 2003 : 05:28:08
|
Well, I got closer, but gave up, and persuaded my colleagues that keeping the original layout was a good idea. I decided that it's better not to mess with the code, as it's quite complex - it's one thing changing the static html produced, but I would then need to go through all of the asp code for all the possible combinations.
Thanks for the help though! |
|
|
|
Topic |
|