Jump to content

problem with creating a header


kiedis

Recommended Posts

hello. i'm trying to make a basic layout by following steps provided in video tutorial. here's the code: html {background:yellow;}body { width:90%; background:brown; margin:0 auto;}header { height:50px; margin-bottom:1em;} Apparently, this code should allocate a header space on the top of the page but it simply does not happen. Also tried with .header class, but the result was the same. And here's HTML code: <!DOCTYPE html><html><head> <title>Test</title><link rel="stylesheet" type="text/css" href="style.css"> </head><body><p>Home Tickets Tours Biography Forum</p></body></html>

post-112348-0-85900000-1359919793_thumb.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...