Last post Mar 02, 2017 12:10 PM by Rednuts72
Feb 28, 2017 07:47 PM|Rednuts72|LINK
I want to put a jumpline in a value of a text option of asp:Button.
The code below with the <br /> balise isn't operational :
<asp:Button id="Bt1" runat="server" Text="Jobers<br />Ouvrir un compte, déposer une offre"></asp:Button>
Feb 28, 2017 08:33 PM|A2H|LINK
You could use the css wrap property to add line break in button. All you need to ensure is that he text which you want in second line should have a whitespace before it
Please try with below implementtion
white-space: normal !important;
width: 100px !important;
</style><asp:Button ID="Bt1" runat="server" Text="Jobers Ouvrir un compte, déposer une offre" CssClass="wrap"></asp:Button>
Feb 28, 2017 09:04 PM|Rednuts72|LINK
This function is ok when the text button width is less than the control button width, how can I put a jump line when the control width is superior than the test button ?
Thanks you !
Mar 01, 2017 09:30 AM|Eric Du|LINK
According to your description, Please try the following code:
<button id="NewBt" class="ShowBt">
Mar 02, 2017 12:10 PM|Rednuts72|LINK
I would like to use text option with asp:button but the method associated to htmlbutton and <br/> balise is ok.
Good to you and me !