We help IT Professionals succeed at work.

colspan?

Tamre
Tamre asked
on
Hello Experts....

One other quick question.  When defining colspan in anexternal style sheet, "colspan: x" does not seem to work.  Is there a different format for this, or must I do this inline?

Thanks,

Tamre
Comment
Watch Question

Top Expert 2013
Commented:
colspan is HTML, and there is no CSS equivelant.

You have to apply it inline to the td tags:

<td colspan="2">.

Cd&

Commented:
1) In CSS it should be "column-span: x".
2) It may not work in current browsers, yet. Probably it won't, but... test it.

HTH
Need help? - Just @skme!

Commented:
Ooops, COBOLdinosaur is right!

"Column-span" property was defined in "CSS2 Proposed Recommendation", but it was not included in the final version.

Sorry!

Author

Commented:
Thanks for the information!

Tamre
Top Expert 2013

Commented:
Glad we could help.  Thanks for the A. :^)

Cd&