Friday, 27 February 2015
Sunday, 22 February 2015
Thursday, 19 February 2015
Monday, 16 February 2015
Simple CSS-Only Row and Column Highlighting
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
Subscribe to:
Posts (Atom)