![]() |
Expand/Collapse Table Rows
Howdy!
I am trying to play with what I thought was a simple style to collapse what I will put into a tableless layout, however I can't get more than ONE to work. For example, I want to have, say 5 rows and be able to expand/collapse each one and have the flexibility to have multiple rows expanded or collapsed simultaneously. Here is the script I found (I think it's off css tricks) Code:
<!DOCTYPE html>+ SOME CONTENT + SOME OTHER CONTENT - EXPANDED CONTENT this is some expanded content + OTHER CONTENT - EXPANDED CONTENT this is some expanded content + LAST ROW OF CONTENT I thought it would be as simple as adding an class/id for each (and reflecting in the HTML), but it doesn't want to work with me. This is what I tried for two rows: Code:
<style type="text/css">-LT |
Anyone willing to help? I'm still stuck...thank you!
|
| All times are GMT +1. The time now is 10:52 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.