DR. WEBSITE: Submitting Forms Using Enter Key; How To Rotate Text Dear Dr. Website®: I've organized form fields neatly in a table, and now I would like to be able to use the Enter key to submit the form. How can I do that?
By David Fiedler and Scott Clark
This way, when a user has filled in the form and tabs to the first radio button, he can then use the spacebar to submit the form. This would allow him to keep his hands on the keyboard rather than having to use the mouse to click on a submit button.
This can come in handy when you want to verify your users have read a release statement, or remind them of some fact, or address additional issues before proceeding.
Dear Dr. Website®:
How can I display rotated text in a browser? I want to create a table and put text rotated 90 degrees in a column. Any ideas?
There are many things that HTML lets you do with text, but rotating it isn't yet one of them. It does seem like a logical thing to do in many cases, especially where tables are concerned, though. The amount of space on a Web page is fairly limited, so rotating a long description can make your table look neater.
The easiest way to rotate text on a Web page is simply to create your text in a graphics program, style and size it to match your Web page, rotate as necessary, and save it (as a transparent GIF if necessary) so that the background will blend in with your page.
The GIF format is most efficient for this sort of artwork, in any case. Then, just take the finished GIF file and work it into your table in the correct spot.
Webdeveloper.com's home page
Back to Home Page