View Single Post
Old 03-18-2004, 01:17 PM  
RSharpe
Registered User
 
Join Date: Dec 2002
Posts: 61
Hi Juicy,

Put the following into an external stylesheet or add it to the hahahahahaha></head> section of your html page:

.input1a {
width: 160px;
border: 1px solid #333333;
color: #CCF49B;
background-color: #65AB10;

width: allows you to control the size of the form field (in pixels)
the border allows you to give the form field .... a border

color: controls the color of the font that's input into the form field

background-color: controls the colour of the inside of the form field

Once this is done, make sure your form field has the style attached to it like so:

hahahahahahaha name="Email" class="input1a">

note the class="input1a"

also, you can add a maxlength attribute like:
hahahahahahaha name="Email" class="input1a" maxlength="60">

but adding a size attribute is pointless since you're controlling the width of the form field via your css.

Hope that helps.

=RS=
RSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote