Posted By

cr4zyguy on 06/15/08


Tagged

css drupal


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

basicmagic
dvdrtrgn


Drupal CSS: Collapsing Fieldsets


 / Published in: CSS
 

  1. html.js fieldset.collapsed{ border-bottom-width:0; border-left-width:0; border-right-width:0; margin-bottom:0; height:1em}html.js fieldset.collapsed *{ display:none}html.js fieldset.collapsed legend{ display:block}html.js fieldset.collapsible legend a{ padding-left:18px;/* LTR */ background:url(images/menu-expanded.png) 5px 75% no-repeat;/* LTR */}html.js fieldset.collapsed legend a{ background-image:url(images/menu-collapsed.png);/* LTR */ background-position:5px 50%;/* LTR */}* html.js fieldset.collapsed legend,* html.js fieldset.collapsed legend *,* html.js fieldset.collapsed table *{ display:inline}html.js fieldset.collapsible{ position:relative}html.js fieldset.collapsible legend a{ display:block}html.js fieldset.collapsible .fieldset-wrapper{ overflow:auto}

Report this snippet  

You need to login to post a comment.