PDA

View Full Version : aligning a headline


gigiloumill
07-25-2011, 09:10 PM
Guys, I can't remember how to do this one: I need to align text vertically without an image. I'm trying to do it with "padding:0 10 10px;" but it doesn't seem to move..I created a div and I'm trying to add a headline and text on the bottom, but after including the headline and hitting enter, the headline moved to the middle left side of the div and I can't get it back up..Any suggestions? thanks

gentleone
07-25-2011, 09:59 PM
C'mon G... you are here for a while now, so we shouldn't have to ask you anymore to post your code or a link. 8-)

gentleone
07-25-2011, 10:41 PM
padding:0 10 10px;
Is this what you have exactly in your CSS or is it that '10' without a unit a typo here?

gigiloumill
07-26-2011, 01:24 AM
My bad G, I submitted question without reading it...Anyways, I got it...it was margin: 0 0 10px;