My dropdowns use two small arrow images - for open and close. The CSS for the drop down is:
MadCap|dropDown
{
margin-bottom: 6px;
margin-top: 0px;
mc-closed-image: url('../Images/_icons-general/DropDownClosed.png');
mc-open-image: url('../Images/_icons-general/DropDownOpen.png');
mc-image-spacing: 5px;
}
When I build the HTML5 output the space above each dropdown item is way too big [see screenshot]: When I right-click the topic in a browser and click Inspect I find that the images are inheriting the margin and padding values from my <img> style [see screenshot]: Here's my CSS for images:
img
{
border-style: solid;
border-width: 2px;
border-color: #979797;
margin: 10px 0px 10px 10px;
padding: 5px;
page-break-before: avoid;
}
My question is: How do I stop the dropdown arrow images inheriting margin and padding? The 'mc-image-spacing: 5px;' value in my MadCap|dropDown style seems to be ignored - what is it supposed to be doing? What am I missing here? I feel like I need to create a new class (with no margins or padding) for the arrow images but then I don't know where/how I'd apply that class. Any help would be greatly appreciated.
Thanks,
Elizabeth
