Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: valign text within css box

  1. #1

    valign text within css box

    This may seem a stupid question, but how do you valign="middle" the text within a box using css?
    The site is www.tmtservices.co.za/new.
    It works in Firefox, but not in IE.
    I would really appreciate some help with this.

    Thanks
    Jeanne

  2. #2
    WebProWorld MVP dharrison's Avatar
    Join Date
    May 2005
    Location
    Essex UK
    Posts
    1,334
    Hi Jeanne

    It should be:

    vertical-align: middle;

    Although in years of using this, I have found that in some cases, it doesn't always work.

    HTh anyway
    Deb Harrison
    Essex Web Design | DVH Design Blog
    If I have helped please add to my Reputation

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Posts
    285
    Couldn't view your code. Using CSS, mid-align works in TD. For a div try padding.

Similar Threads

  1. is google ok with sites that has text link color same as regular text
    By deafsinger in forum Google Discussion Forum
    Replies: 9
    Last Post: 10-10-2008, 04:14 AM
  2. Text in presentaions looks diferent to text in documents.
    By cronic in forum Flash Discussion Forum
    Replies: 1
    Last Post: 03-10-2005, 10:40 AM
  3. valign for CSS
    By MrLeN in forum Graphics & Design Discussion Forum
    Replies: 6
    Last Post: 11-15-2004, 01:13 PM
  4. Replies: 26
    Last Post: 07-09-2004, 10:44 PM
  5. Replies: 5
    Last Post: 07-04-2004, 12:33 AM

Posting Permissions

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