1

I cannot get these two fieldsets to line up horizontally.I've tried every variation of float and display I could think of. I currently do not have these elements in a div although I tried that too. Do they have to be in a div?

<fieldset class="bio1">
  <legend>Name</legend>
  <p>President</p><br/>
</fieldset>
<fieldset class="bioimage">
   <legend>Picture</legend>
   <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/BioImages/bio.jpg" />
 </fieldset>
4

1 回答 1

4

CSS(不是特别是 CSS3)的问题。将它们(字段集 css)都设置为

display: inline-block;
vertical-align: top; /* enter your desired option */
于 2012-09-06T12:14:28.890 回答