How to create text watermark background?

Is there a way to use create text boxes that will stay in the position that I place when browser is resized?

  • I have a background image that is a form and I am trying to create text boxes in the appropriate places on the form, but as soon as I resize the browser the text box moves. Is there a way to use the background image and create text boxes that will stay in the position that I place it when the user would resize thier web browser. I just started this project so I figured I would start here. What Should I use, I started with creating a layer, then putting the text box in the layer and positionng it on the form.

  • Answer:

    Take the content that you want to absolutely position and wrap it with this: <div style="position:absolute; left:100px; top: 20px; "> ...your content... </div> Of course, you will replace top and left with your own locations. You can also use "position:relative" in which case the measurements you put in will be relative to its parent element. I usually do something like this: <div style="position:absolute; ..." > <image src="background-image.jpg"/> <div style="position:relative; ..."> ...content... </div> </div> Hope this helps!

help-me-... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Just off the top of my head... untested... Put your form in a table, make the table width static (ie, <table width="800"> rather than <table width="100%">

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.