PDA

View Full Version : Switch Content Script II - Lineheight??



websmythe
10-12-2007, 09:23 PM
1) Script Title:
Switch Content Script II

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm

3) Describe problem:
I running a plain install of Switch Content II, just modding the CSS. When you have all links collapsed theres a lot of white space in between each of the headers/titles. (see image below) How do you tighten it up? I've tryed adjusting the CSS, but can't get it to work? (see code below)

http://img469.imageshack.us/img469/8984/switchcontentiiab3.th.jpg (http://img469.imageshack.us/my.php?image=switchcontentiiab3.jpg)



/*Default style for SPAN icons. Edit if desired: */

.iconspan{
float: left;
margin: 0;
padding: 0 5px 0 0;
cursor:hand;
cursor:pointer;
font-weight: bold;
}

/*CSS used to style the examples. Remove if desired: */

.eg-bar{
margin: 0;
padding: 0;
font:bold 12px/12px Verdana, Arial, Helvetica, san-serif;
}

div.eg-bar{
margin: 0;
padding: 0;
width: 425px;
}

.icongroup1{
width: 410px;
margin:0 0 0 0;
padding:5px 0 0 0;
font:normal 12px/12px Verdana, Arial, Helvetica, san-serif;
}

ddadmin
10-13-2007, 07:45 PM
There's nothing in the CSS that stands out as being the culprit? Do you have the relevant HTML portion, or better yet, a link to the problem page?