Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 20th, 2007, 02:12 AM
Authorized User
Join Date: Jun 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wrap Text


I want to wrap text in an asp:button.

The text to be shown on the button is done simply though the given code:


The foll. code works but uses an HTML button:

<BUTTON id="btnWrap" type="button" runat="server">
<div style="WIDTH: 70px; WORD-WRAP: break-word">

this is a casfdsfdsfsdfsdfsfsdfdsfsft two


Moreover the text within the DIV tag must be set at runtime.

Please help me.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Text - How to stop wrap? mat41 CSS Cascading Style Sheets 26 December 19th, 2006 08:05 AM
How to wrap text in a winform Datagrid (vb.net) cliffd64 VB.NET 2002/2003 Basics 1 September 26th, 2006 03:10 PM
Text wrap in Datalist helix24 ASP.NET 2.0 Basics 0 May 12th, 2006 07:45 PM
Wrap text with merged cells aspadda Excel VBA 4 January 29th, 2004 03:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.