Jump to content

Replacing colspan with css code


cororon

Recommended Posts

You can't do it with CSS. colspan is the only way.If you're using tables you'll need colspan for that. However, unless you're displaying data, you shouldn't use tables. To lay out your pages use <div>, <span> and pure CSS.

Link to comment
Share on other sites

Divs don't act like tables - it is harder to get a multi-column layout with divisions but it is possible!By the way, the colspan attribute won't be deprecated until the entire table construct goes, because it is necessary for the concept of tables.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...