Set table column widths using CSS, JQuery and automatically generated pseudoclasses


/ Published in: JavaScript
Save to your folder(s)

A javscript snipped which will mark each table cell with a CSS class containing the cell's column number. This allows you to set the table column widths using just one CSS rule and without hand editing the table HTML code. This is to workaround the lack of nth-child pseudoclass CSS selector in IE6, IE7 and IE8.

URL: http://www.twinapex.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.