| Web Design & Programming Building websites, coding scripts or developing apps? html, css, javascripts, ajax, php, asp, java, c+, C++ and other geeky info is here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Status: Senior Member Join Date: Jun 2011 Posts: 121
![]() | Hi people, I was wondering if you could help me solve a little problem. I am trying to create a website for a project that allows me to search a database (which is set up already) and return the findings (which is lines of text) to a page containing an image. However, the text has to be overlayed onto the image. Is it best to do this in the html coding or through the servlet? What do you suggest, and how do I go about it? Please keep your suggestions in simple terms since I am newbie to html. Many thanks in advance |
| | |
| | #2 (permalink) |
| Status: Member Join Date: Aug 2011 Posts: 85
![]() | If you want write the text on image. Write this code in html page, <html> <head> <title>Worlds1.blogspot.com</title> </head> <body> <div id="container"> <div><img src="chicago.jpg" /></div> <div style="position: absolute; left: 20px; top: 160px;"> <span style="font-weight: bold; color: #fff;">lillianabe</span> </div> </div> </body> </html> |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |