-4

So, I don't know how to explain this really well. My website has a banner (it's a picture) at the top and then a menu underneath the banner, and I want the menu and above to have a dark gray background, with the rest a really light grey background. How would I do this?

This is what my website layout currently looks like (excuse the horrible art): enter image description here

This is what I want the website to look like: (notice the background colors) enter image description here

Jacob G
  • 13,762
  • 3
  • 47
  • 67

1 Answers1

0
<html>
  <body>
    <div style='background:#123'>
      your banner
    </div>
    <div style='background:#567'>
      your text
    </div>
  </body>
</html>

or

<html>
  <head>
    <link rel=stylesheet type="text/css" href="my.css">
  </head>
  <body>
    <div class='banner'>
      your banner
    </div>
    <div class='main'>
      your text
    </div>
  </body>
</html>

and in my.css

.banner {background:#123}
.main {background:#456}
th3falc0n
  • 1,389
  • 1
  • 12
  • 33
Alexander Gelbukh
  • 2,104
  • 17
  • 29