Results 1 to 5 of 5

Thread: center a label with code in webform [Resolved]

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Location
    Savannah, GA
    Posts
    100

    center a label with code in webform [Resolved]

    I am trying to center a label in code on a webform in a webapplication. I tried using the code

    VB Code:
    1. label1.left = (Me.width/2)-(label1.width/2)

    and realized later that the left and top properties don't exist when building a web application. I am new to building web apps and was wondering if there was another method to center controls in code, possibly using HTML Tags? If so where would I put the tags to make it work, I know little to nothing about HTML. Any help is appreciated. Thanks.
    Last edited by ERage; Jan 14th, 2004 at 04:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width