Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-14-2005, 08:46 AM
WebProWorld New Member
 

Join Date: Jul 2003
Location: cape town, south africa
Posts: 14
jeannemalherbe RepRank 0
Default 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
Reply With Quote
  #2 (permalink)  
Old 12-14-2005, 09:42 AM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,460
dharrison RepRank 3dharrison RepRank 3
Default

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
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #3 (permalink)  
Old 12-14-2005, 01:26 PM
WebProWorld Pro
 

Join Date: Apr 2005
Posts: 231
johngroup RepRank 0
Default

Couldn't view your code. Using CSS, mid-align works in TD. For a div try padding.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

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

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


Search Engine Optimization by vBSEO 3.2.0