Before going on I think that one of the reasons that this css isn't well written or working well is b/c I purposely skipped a part.It's a part about making a contact form (sort of like this http://l.yimg.com/a/i/us/wh/gr/help/...nt_modal_3.gif) but there's a part about having to get a file to a server which I'll see someone tomorrow about.I've been told to make...
-a top margin of 1em
-border of 2px, #305704
-font size of 16px
-fieldset border of 2px,#305704 (although I don't know what a "fieldset" border is)
-fieldset background with a colour of #befca7
-fieldset with a bottom margin of 1em
-legend font with colour #305704
-legend with right and left padding of 10px along with top and bottom padding of 0
-*float first name, last name, email labels to the left, with a width of 100px, aligned to the right [this part I don't understand but feel has something to do with the step on making a contact form that I skipped]
-text inputs with a background colour of #f0eea4
-a textarea border ["textarea" border not being a particular like tag] of 2px,with color #305704
-a button text colour with #305704
-a button text in lower case (I dont get it,dont they all automatically appear in lowercase font?),using CSS to transform it to upper case
-a button background colour with color #f0eea4
-a button border with 1px and a color of #305704
-appropriate CSS alignment to display the buttons beside each other horizontally
Code:
body [?]
{
margin:1 em;
border: 2 px, #305704;
}
.field-set {
font-size:16px;
font:#305704;
padding-right:10px;
padding-left:10px;
padding-top:10px;
padding-bottom:10px;
float:[dont know how to do this one]
[dont know text-input:#f0eeea4;]
.legend
{
font:#305704;
padding-right:10px;
padding-bottom:0px;
}
[how do I do * if I can?]
.text
{
background-color:#f0eea4;
[area]border:2px , #305704
}
.button
{
color:#305704;
border: 1 px,#305704
}
Am I doing following this CSS outline well?