Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Center text in web Label control

Reply
Thread Tools

Center text in web Label control

 
 
daniel kurtz
Guest
Posts: n/a
 
      10-11-2005
OK, I've centered my Label on my default-sized page. How do I center the
text within the label? There's not an 'alignment' property for the control,
nor an 'align' attribute for the HTML. What gives?

ddk


 
Reply With Quote
 
 
 
 
Hal
Guest
Posts: n/a
 
      10-11-2005
Declare a css class to do the alignment for you. The label has a
limited number of properties, becuase it's a simple label.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dll config and web.config and Label Expressions (binding label text to dll config settings) CSharpner ASP .Net 0 04-09-2007 09:00 PM
Center text in a label kpg ASP .Net 3 10-07-2005 03:57 PM
Naming of core NASA center with the words "Mission Control Center" & mass use of religious anthem sounding word "Mission" in Context of Space Exploration & the Moon Landing Hoax moonlandinghoaxreligious@yahoo.com Digital Photography 0 09-27-2005 08:28 PM
Center Align Label and Hyperlink Control Tom Bernsen ASP .Net 3 04-23-2004 02:03 PM
Web Label Control - Align:Center Alan Z. Scharf ASP .Net Web Controls 2 08-05-2003 05:37 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57