By alpha_chino on
Hi,
I have a php snippet that I want to place directly on top of an image.....Any idea of how to do this?
Thank you in advance.
Hi,
I have a php snippet that I want to place directly on top of an image.....Any idea of how to do this?
Thank you in advance.
Comments
What do mean by placing the
What do mean by placing the snippet directly on top of an image? Do you mean the actual snippet or the text/html generated by the snippet?
Clarification
I mean the text generated from it.
www.westcoastkidscamp.com
This is the site, Im trying to put the php generated text below the calendar image on the right side of the screen right in the middle of the image.
Thanks in advance!
For a more advance solution
For a more advance solution see: http://drupal.org/project/signwriter
For a alternative structure your block html something like this
Then add this css to your themes style.css file
Adjust left and top to determine placement of text.
Response to suggestion
When I inputed the changes into the css the entire page went wonky. The right sidebar images ended up on the left of the screen......Any suggestions? And by the way, thank you for your reply, you are a glimpse of hope for our site in an otherwise difficult day :)
This worked for me <div
This worked for me
Styles are inline because I tested this on your site, I would actually apply them in style.css.
I started with what you had in the block, the image tag was very wonky and may have been a source of problems.
Top and left values are a starting point, you will need to adjust.
To modify the font size
To modify the font size change
to
Values greater than 1 for font size will increase it.