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
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%">
Related Q & A:
- How to create a build system in Sublime Text 3?Best solution by stackoverflow.com
- Is there a way to preset several tabs in the browser that open automatically?Best solution by answers.yahoo.com
- Is there a way to make text bigger in a game room?Best solution by Yahoo! Answers
- If I use Component to HDMI lead will a Hauppauge HD PVR still work fine?Best solution by Yahoo! Answers
- Is there a way I can use my camcorder as a webcam?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.