HTML/JavaScript/CSS help?

  • Thread starter Thread starter stacie
  • Start date Start date
S

stacie

Guest
I have directions to duplicate a site and this is what I'm given:

The title of this page should be “Bugs Bee Wee.”

The H1 uses an inline style tag to set the color to #0000FF and the font-family to sans-serif..

You must use an internal style sheet to set the form’s background to #99CCFF, its width to 80% and its border=#0000CC double 4px.

The H2 (also in the internal style sheet) should have a color of #CC00FF and a font-family of sans-serif.

The form tag should have an action that will cause the page to be emailed to you when the submit button is clicked. Its method should be ‘Post’.

The two textboxes should have a size of 30.




Frankly, I am completely stumped when it comes to internal style sheets and inline style tags.
This is one page I just cant make! Help!!!
 
If you don't know how to use CSS, there are good tutorials and examples on W3Schools, here: http://www.w3schools.com/css/

Study from there and post your sample code here...then we'll help debug it. It is just wrong to ask people to do your homework for you!
 
If you don't know how to use CSS, there are good tutorials and examples on W3Schools, here: http://www.w3schools.com/css/

Study from there and post your sample code here...then we'll help debug it. It is just wrong to ask people to do your homework for you!
 
Step 1: WRITE THE HTML. yeah really.

Step 2: Make it easy on yourself, put IDs on the things you want to style, yeah there's different ways to get to things and style them with CSS. Make the names MEANINGFUL, us "inputform" instead of "blueform" what if you want it to be green later, then you have a class called "blueform" that means "green".

Step3:
Use
.classname
{
styles
}
for classes and
#idname
{
styles
}

for ids, don't forget to put them in appropriate "style" tags. I'll leave it to you to look up the styles and the syntax!

Good luck.
 
Back
Top