Over two years in development, Web Design Mastery
is your complete guide to
learning professional Web Design... Specially designed for small
businesses, it is packed with
the exact information you need
to succeed.
To make the most out of your website you must offer some sort of interactive feature.
The easiest way to allow your users to give you feedback is by using forms that your
visitors can easily fill up to send you information and comments.
You don't have to settle for the boring default settings for forms (usually a blank
rectangle for the entries and a gray rectangle for the submit or send buttons). You can
customize these form elements to go with the look and feel of your site.
Your standard forms will look something like this (we're using a simple one box form that
will email your email address to the recipient; however, these instructions can be used
with any form):
To change the appearance of the entry box so that it is surrounded by a rectangle with a
one-pixel wide colored border, you can use the style attribute as follows:
Now, let's suppose that we want to change the border and color of the submit button so
that its border is a solid one pixel wide navy blue line and the interior is light blue.
The code will look like this:
You can play around by changing the colors assigned to the scrollbars, text area
background and submit button to create the look that suits you best.
You can also specify your form attributes in a cascading
style sheet. That way, if you make any changes, these will apply to all the
forms on your site, so you won't need to make your changes in each and every form.
These tips should be enough to make some basic modifications that add fun and
sophistication to your forms, so that they better blend with the look and feel of your
site.
For more HTML tips and tricks check out Shelley Lowery's Web Design Ebook (Web Design Mastery)
You can freely reprint this article provided that you include the following resource
box:
Mario Sanchez is a Miami based freelance writer who focuses on Internet marketing and web
design topics. He publishes The Internet Digest ( http://www.theinternetdigest.net ), a growing
collection of web design and Internet marketing articles, tips and resources. You
can freely reprint his weekly articles in your website, ezine, or ebook.