My div is structured like this:
https://i.sstatic.net/3fUNs.png
I am trying to decrease the spacing between the lines. I attempted adding a line-height attribute to both the parent div and one of the label elements like this:
<div class="row" id="gadsDiv" runat="server" style="display: none; border-style: solid; margin-left:
4px; font-weight: bold; line-height:2px;">
<asp:Label runat="server" ID="lblMovieTitle" Style="color: blue">Movie Title
Unknown</asp:Label><label style="font-weight: bold; padding-left: 4px; padding-right: 4px;
line-height:2px;"> GENRES: </label>
<asp:Label runat="server" ID="lblGenres">None or Unknown</asp:Label>
<label style="font-weight: bold; padding-left: 4px; padding-right: 4px;">ACTORS: </label>
<asp:Label runat="server" ID="lblActors">None or Unknown</asp:Label>
<label style="font-weight: bold; padding-left: 4px; padding-right: 4px;">DIRECTOR[S]: </label>
<asp:Label runat="server" ID="lblDirectors">None or Unknown</asp:Label>
<label style="font-weight: bold; padding-left: 4px; padding-right: 4px;">WRITER[S]: </label>
<asp:Label runat="server" ID="lblScreenwriters">None or Unknown</asp:Label>
</div>
...unfortunately, it doesn't change anything.
How can I adjust the vertical spacing of the lines?
UPDATE
Interestingly, when I check the source code, the line-height and margin added to the div style are removed:
<div id="gadsDiv" class="row" style="display:block;background-color:
lightyellow;border: 2px solid blue;">
<span id="lblMovieTitle" style="font-weight: bold;font-size: large;color:
blue;">TO KILL A MOCKINGBIRD -- </span><label style="font-weight:
bold; padding-left: 4px; padding-right: 4px;line-height:2px;">
GENRES: </label>
<span id="lblGenres">Crime, Drama </span>
<label style="font-weight: bold; padding-left: 4px; padding-right:
4px;">ACTORS: </label>
<span id="lblActors">Gregory Peck, John Megna, Frank Overton, Rosemary
Murphy </span>
<label style="font-weight: bold; padding-left: 4px; padding-right:
4px;">DIRECTOR[S]: </label>
<span id="lblDirectors">Robert Mulligan</span>
<label style="font-weight: bold; padding-left: 4px; padding-right:
4px;">WRITER[S]: </label>
<span id="lblScreenwriters">Horton Foote</span>
</div>