Highlighting rows of a table is pretty darn easy in CSS.
tr:hover { background: yellow; }
does well there. But highlighting columns has always been a little trickier, because there is no single HTML element that is parent to table cells in a column. A dash of JavaScriptcan handle it easily, but Andrew Howe recently emailed me to share a little trick he found on StackOverflow,
http://css-tricks.com/simple-css-row-column-highlighting/?scid=social40156586&adbid=10153078654851737&adbpl=fb&adbpr=327628631736
No comments:
Post a Comment