I am trying to apply display: inline;
to the <legend>
element in my <fieldset>
element, so that the following <span>
will follow on the same line, but my CSS is having no effect.
legend{
display: inline;
}
span {
display: inline;
}
<fieldset>
<legend>Legend</legend>
<span>Follower</span>
</fieldset>
EDIT
I have no control over the HTML; I can only edit CSS