Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verticaly center text box between two horizontal lines

Status
Not open for further replies.

DustDevil1980

Programmer
Oct 14, 2003
14
US
How do I verticaly center a text box? I have two horizontal lines and I want to be able to center a text box between them. When I use Can Grow, it only grows down and also moves the line. I need it to grow both Up and Down w/o moving the lines. For example:

-------------------

Text

-------------------

OR

-------------------
This is text that
will be centered
over three lines
-------------------

I would think that this is a common problem, but I was unable to find a previous post on this. My appologies if this has already been asked.
 
Awesome!!! Its a lot of code for something that seems so simple, but it works!!! Thank You!!! :D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top