PDA

View Full Version : CSS and HTML



iMat
February 7th, 2005, 08:45 PM
May seem like a noobie question but...

How do I use CSS to vertically align content within a <div></div>?

I've read mixed opinions on this issue, so I want a way that will work on most browsers (primarily IE, Firefox, and Safari)

--iMat

thesparky007
February 7th, 2005, 09:12 PM
valign?????? in html it is valign and u put it inside some tag and it is not by itself

i wonder in css
does this post really belong here?

Kristopher
February 8th, 2005, 01:24 AM
div#id {
vertical-align: property;
}

For for imformation, check here: http://www.stylegala.com/features/css-reference/vertical-align.htm