text input boxes over a graphic?

Posted on 2004-04-22
Last Modified: 2010-07-27
how can i create text boxes that people can type in if the whole page is a gif image that i created in imageready, how can i make a text input box over the graphic?

Question by:finnstone
  • 4
  • 3
  • 2
  • +3
LVL 45

Expert Comment

ID: 10896626

Author Comment

ID: 10896903
sunnny, that is not what i am trying to do.

 i want a text BOX where people can input stuff and i want this to be a form input box .

sorry for confusion
LVL 45

Expert Comment

ID: 10896975
I guess you are building some web page or something similar ...

In that case, you can consider setting your image as background of the page and creating a text box (form) on that page ... In other words, text box will not  be a part of the image (graphics) but just a component of your overall web page

If you are using html, you can use a WYSIWYG editor or other tools to design the page

check these links
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

LVL 30

Expert Comment

ID: 10900893
You mean like finnstone?
It's just a matter of slicing up the image, and leaving spaces for input fields in the tables.

Author Comment

ID: 10901709

what do u mean though. why is slicing have to do anythgn with this?

 what tables should i create? how can i create a table in the html page in the exact spot where the gif image lies?
LVL 30

Expert Comment

ID: 10905040
Are you familiar with using Slices in ImageReady and Photoshop? If not, check out the manual pages which tell you what slices are, what they do, and how to use them. When you export to HTML, the slices will create tables which can be used as a layout tool for HTML. Use the tables, to place your forms.
LVL 16

Accepted Solution

kiranvj earned 200 total points
ID: 10907270
You can use a layer to place the text box exactly where you want.

In your web page put this tag in the body

<div id="Layer1" style="position:absolute; left:164px; top:101px; width:213px; height:30px; z-index:1">
  <input type="text" name="textfield">

You can adjust the top, left, width, height etc to suit ur needs.
(Here the textbox is placed inside a layer)

If you are using a web page editor like Dreamweaver or Frontpage things will be more easy, just click the layer and move to where you want to place the text box.

The advantage of using layers is that you can place the layer anywhere in your webpage.

So you put your image in a table. And on top of this table you place the layer( the place where u want to place the textbox);

hope this helps...
thank u.

Assisted Solution

bitter_chicken earned 200 total points
ID: 10916661
The textfields will work, but you wont be able to see through to the image underneath.

The following will allow the user to add text on top of the image, and still see the image: (IE)


<div id="Layer1" contentEditable="true" style="position:absolute; left:71px; top:61px; z-index:1; width: 500px; height: 500px; border: 1px dotted #336699; font-size:36px; font-family:Arial, Helvetica, sans-serif; color:#990000;">
  <br> Content Here
  <br> Type Stuff Here
  <br> Add Text Here


bc :-)
LVL 45

Expert Comment

ID: 10916713
>how can i create a table in the html page in the exact spot where the gif image lies?
Use a WYSIWYG (what you see is what you get) html editor like MS frontpage and your task will get considerably easier

Assisted Solution

Lance_Frisbee earned 100 total points
ID: 10921819
To get the result you want, you'll need to slice your image into multiple slices. When you optimize as webpage AFTER going through imageready, you'll need to open your .html file with an editor of some sort. You'll have a bunch of table cells that were created by your slices

<TD Colspan = 8>
                           <img src="images/picture.gif" height="100%" width="100%" border="0">

This is the kind of stuff you'll be seeing. To make it so you can type on top of one of these images using your HTML editor i.e. Dreamweaver, Frontpage etc. you need to change this table cell from containing an image of "picture.gif" and make the BACKGROUND image of the cell "picture.gif"

To obtain this effect you'll need to change your code to read:

<TD Colspan=8 background="images/picture.gif" height="100%" width="100%" border="0">
           This is where you'll write your text that will appear ON TOP of the image.

So to sum it up - replace your img src= with background= and make it all part of the same <TD> tag.

Hope this helps -


Author Comment

ID: 11331931
i was wondering can i make this a form??

Author Comment

ID: 11331934
would the form tag go before the text input and after the div tag?

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Font Type used in Photoshop 5 63
Adobe Captivate - Example files 2 107
RGB code colors 8 104
How to create your own subtitles for a video? 5 37
HOW TO CREATE A WEB 2.0 IMAGE WITH A REFLECTION I would like to start by saying I know Web 2.0 isn't a style. It is actually the practice of information sharing or  collaboration on the Web. It is also associated with the technology that is used …
In this article, I'll explain how to change the color of a selection in Photoshop. I'm sure there are a couple different ways to do this in photoshop, but this is my preferred method in Photoshop. I am using Photoshop CS6 and I will be adjusting the…
In this tutorial viewers will learn how to select a color range in Photoshop and how to easily apply them to multiple projects. Open an image for editing in Photoshop: Open the select Color Range Selection tool by going to Select > Color Range: Sele…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question