Using divs for table-like layout, how to highlight certain divs with CSS or jQuery

bunamati

New Member
I am using divs to create a table-like layout. I am trying to mimic a table row being highlighted but with a div approach. Is there an easy way to do this with css/jquery instead of throwing attributes on every div?Here is css i am using to highlight a div. I am also looking for the first 'column' to be highlighted as well in the appropriate row...So if i am in the second column of inputs, in the second row, i want that one to be highlighted and the corresponding label. \[code\].dinfo > div:hover{background: #eee;}\[/code\]Here is my fiddle: http://jsfiddle.net/6dFqd/
 
Back
Top