Free Webmasters Resource
 

Free Graphics, Tutorials, Scripts, Webmaster Forums, Web Templates, SEO Tools, & Much More!!

Home Scripts Tutorials Free Downloads Articles SEO Play Free Games Web Templates

Form Effects

Are you tired of the boring default form fields? Well, by using a little bit of style magic, you can make your fields as fashinable as [insert pop sensation here].

Let's start off with an example of what you can do.

As you can see, instead of a dull white and gray form, you can have pretty pink and vivacious blue. The code for it is very simple too, take a look:

<form name="myform">
<input type="Text" style="color: #460046; font: 11px Verdana; background-color: #FFBBFF; border-width: 1; border-color: #000000; border-style: solid; width: 150;">
<input type="submit" name="submit" style="color: #FFFFFF; font: 10px Verdana; background-color: #1F7CF0;">
</form>

You can see the different attributes I used. They are: color (the color of the font), font (the size in pixels and typeface of the font) background-color (the color of the background), border-width (the width of the border), border-color (the color of the border), and border-style (the style of the border). These are most of the important attributes you would want to change when customizing forms, but there are also many more. You may use any style attributes available in most recent CSS standards. This site has a nice list of them all.

A great way to make life easier while coding is to an external CSS file to store your form styles. Instead of all that code that I had to write above, I could simply use CSS to get the forms looking the way I want. For example, in your .css file, create a class called "myform" that contained every attribute following "style" and within the quotes. Once that is done, you could use just his to display your formatted form:

<form name="myform">
<input type="submit" class="myform">
</form>

I highly recommend using CSS files to define all of the various styles of text, links, form fields, and other elements used in your pages. They save time, code, and make style changes much easier.

 

Tutorials: HTML

Title/Description

Level

Backgrounds: Tutorial
Learn how to effectively add backgrounds to your page that make your page look professional or amateur.

Beginner

Imagemaps: Tutorial
Make one image into various clickable regions using only HTML

Intermediate

Embedding Fonts: Tutorial
Learn how to use uncommon fonts in web pages by embedding them.

Advanced

Images: Tutorial
Positioning images can make your images look just right when inserted into text.

Intermediate

Form Effects: Tutorial
Learn how to create trendy forms with simple style commands as well as with CSS classes.

Intermediate

Layers: Tutorial
Layers can make complicated image placement possible.

Advanced

Forms: Tutorial
Use forms to gather information from your users.

Advanced

Links: Tutorial
Making links in HTML is the easiest thing you will ever do.

Beginner

Frames: Tutorial
Learn how to create frames that enable you to create navigation systems on your site.

Advanced

Scrollbars: Tutorial
Learn how to add effects to your scrollbars and add flavor to your page.

Advanced

Hide From Print: Tutorial
Learn how to only allow a visitor to print part of your page using CSS.

Intermediate

SSI: Tutorial
Learning how to do SSI will save you a lot of authoring time.

Advanced

Horizontal Line: Tutorial
The horizontal line serves as a great separator tool.

Beginner

Table Styles: Tutorial
Learn how to add various table styles such as dash or dot borders, and many other things.

Intermediate

Iframes: Tutorial
Iframes can organize your website into clean sections.

Advanced

Tables: Tutorial
Organize your web page layouts with tables.

Intermediate

216 Web Safe Color Chart: Tutorial
The 216-color color-safe palette refers to colors (RGB values) that will appear the same on either IE or Netscape and Windows or Mac platforms.

Beginner

Pantone RGB/Hex/HTML Colors: Tutorial
This table contains all pantone colors converted to RGB and Hex. It displays them all in HTML colors.

Intermediate

 


Home Contact Credits Flash Templates Webmaster Forums Site Map Webmaster Resources Advertise

Templates Resource Hosting
Domain Names · Templates Resource