is there any harm in using colspan="1000"
Hi,
i want to know that is there any harm in using colspan="any big number" in my <TD> tag even if no row in table contains more than suppose 1 - 20 columns, i just want my current <TD > to span the whole available width of table, whatever may be the number of columns in other rows.
[308 byte] By [
Glimpsea] at [2007-11-27 7:38:31]

# 1
well when you are outputting the table (dynamically I assume) you must know the number of columns it has, so you can also dynamically set the colspan value. Yes it will have an effect on the rendering of the table to set more rows in the colspan than there are actual rows in the table, but the effect will be browser dependent.
Stupid question to you perhaps, but why don't you just try it out and see for yourself? Then you don't have to trust in the words of someone else!
# 2
hey thanks, i have already tried it out and have found it doesnt affects other rows.but as u said it may not work in some browsers and thats what i wanted to know that is there any browser specific, OS specific problem anyone is aware of if i use it like i am doing.