` Printed Icetips Article

Icetips Article



Par2: Prevent prompt text from wrapping
2007-09-11 -- Dan Presnell
 
If you don't want your "prompt" controls wrapping in your webbuilder 
windows, it's easy to fix.

Open the skeleton prompt.htm.

Now find the four lines that have this:


  
This is the text
  

Change them to this:

This is the text
Works great! It also adds a few pixels to the right to insure a little space between the prompt and the entry field. Note that this is only for PROMPT controls. (This also produces an effect that is exactly the opposite in a windows program. In a window program, your PROMPT controls can wrap, but STRING controls can't. It seems more appropriate in a web app that you would not want prompts to wrap, so they line up with your entry fields.)



Printed May 5, 2024, 4:25 pm
This article has been viewed/printed 35118 times.