I have a div on the page. The intent is to have a question on the left hand side, and occupying most of the space. There is also a little prompt icon for more help, that should appear at the top right of the div.
the code is
The css elements are;
The border colours were added so I could try and see what was going on before I posted here :$
Can anyone help me with what Ive got wrong?
The asp:label resolves into an inline span element if that has any relevence on it
K
the code is
Code:
<div style="width:700px;">
<div class="Question">
<asp:Label BorderStyle="Solid" BorderWidth="1px" Width="665px" runat="server" ID="lbQuestion">Here is a sample Question?</asp:Label>
</div>
<span style="float:right;vertical-align:top"><a href="#" onclick=""><img alt="Info Button" class="infoButton" src="Images/info.jpg" /></a></span>
</div>
The css elements are;
Code:
.Question
{
padding:10px 10px 10px 10px;width:700px;font-size:x-large;font-weight:bold;color:Black;border-bottom:white 2px solid;
border-right:2px solid red;border-top:2px solid red;
}
.infoButton
{
border:0px; height:15px;width:15px;
}
The border colours were added so I could try and see what was going on before I posted here :$
Can anyone help me with what Ive got wrong?
The asp:label resolves into an inline span element if that has any relevence on it
K