Okay... some of you are wondering where I've been... well I have been surfing the forums a bit in silence but lol... well here I am. Anyway, finally I have grasped margins/paddings and I am trying to make a basic layout. However, I need to stretch a gradient (if you get what I mean) on the top of my layout... which will be the navigational area. Here is my code so far - please don't complain about the internal style sheet - its only temporary.
HTML Code:
<html>
<head>
<title></title>
<style type="text/css">
div.body {
height: 33em;
margin: 3px 3px 3px 3px;
border-color: black;
border-style: solid;
border-width: 1px;
background-color: orange;
}
div.box1 {
width: 200px;
height: 200px;
overflow: auto;
padding: 3px 3px 3px 3px;
margin-top: 4em;
margin-left: 4em;
padding 3px 3px 3px 3px;
border-color: black;
border-style: double;
border-width: 3px;
background-color: white;
}
div.gradientbox {
height: 20px;
width: 1000px;
border-color: black;
border-style: solid;
border-width: 1px;
background-image: url("gradient.jpeg");
}
</style>
</head>
<body>
<div class="body"><div class="gradientbox">Text</div><div class="box1">Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text</div></div>
</body>
</html>