FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

css problem:

 


alalex
Hi guys, I have a div, with some text inside, which I want to align to the middle of it. I dont mean to put text-align:center; that puts it to the center, but speaking of width. I want it to be aligned to the middle of the div, speaking of height...

I'm not sure if i explained correctly, if it is not clear ask please, i will try to explain it better.

Thanks! Wink
AftershockVibe
I think that this is what you are looking for:

Code:
div.class
{
vertical-align: middle;
}


Cool
alalex
great! Wink

thanx a lot!
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.