PDA

View Full Version : Moving text up fwhen inline with image


rico1931
06-10-2010, 01:44 PM
Hello,

I was wondering if anyone new of a way to get the text next to an image to be centered with the image. Here is the following code:


<img style="padding-left:25px;" src="/F01/Photo/FCHH_C.gif" width="200" height="138" />
<font style="font-size:32px; margin-bottom:100px">Flow Controls Price List
</font>


Since the image is larger than the text it will not sit in the center of the image but so on the bottom next to the image. I have tried all the CSS of padding and margin bottom on the text and it will not move it any up ... any help is greatly appreciated.

Thank you

rico1931
06-10-2010, 02:18 PM
so here is an example of what my text and image look like

http://www.htmlkit.com/i/g/cached/tmp10_dup_e08f9f09f17d213c962b01c937e72861.jpg

I want that text to be in the middle of the image.. by middle I mean just moved upwards about 50px to sit to the middle left..

thanks i thought it would be easier if I included an example

Corrosive
06-10-2010, 05:52 PM
Float the image maybe or add the image as a background and then position the text with padding?