Would like to center this text vertically with respect to image
Please let me know how I can center the following text to the image that is beside it.
(can be tested with http://www.w3schools.com/html/tryit....=tryhtml_intro)
I'm entirely sure what you are asking, but if you want the image and text to be center left-and-right on the page, then all you need to do is remove float: left; from your div style and add margin: 0 auto; instead.
Sorry, after rereading I realized what you were asking.
Put this in your style
Modify line-height until you are satisfied.
Thanks for the help.
Sorry for the late reply, I ended up using what you suggested in my solution, but forgot to reply...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)