I think it should be on the span tag, but it depends on the code in the output. For example, faking the look in the MadCap help works with this code:
Code: Select all
<div class="MCDropDown MCDropDown_Closed dropDown" data-mc-state="closed">
<span class="MCDropDownHead dropDownHead dropDownHeadOnlineOnly">
<a href="javascript:void(0);" class="MCDropDownHotSpot dropDownHotspot MCDropDownHotSpot_ MCHotSpotImage" data-vivaldi-spatnav-clickable="1">
<img class="MCDropDown_Image_Icon" src="../../../../Skins/Default/Stylesheets/Images/transparent.gif" height="11" width="16" alt="Closed" data-mc-alt2="Open">
Outputs Supported
</a>
<span class="mini">(mini text)</span>
</span>
Code: Select all
span.mini {
font-size:small;
vertical-align: middle;
}
However, middle is defined as "Aligns the middle of the element with the baseline plus half the x-height of the parent.". Therefore it ignores the ascenders and descenders when calculating the "middle". So it might not be quite how your eye defines "middle". (plus font-size and line-height, etc can effect things, I think.)
faked-span.png
I'm also not sure what would happen if the mini text span was inside it's own little div - I can't remember how the snippet code comes out.
But hopefully this will give you some ideas to look at.
You do not have the required permissions to view the files attached to this post.