I am lost! I am just starting out with CSS... I figured out the fixed background and am now working with classifications... with divs... anywho... so once I added the divs, the background disappeared... Any ideas? Here's my code:
<style type="text/css">
{
background-image:
url('sidestripes2.jpg');
background-repeat:
no-repeat;
background-attachment:
fixed;
background-color:#E7F3E7
}
div.container
{
width=100%;
margin=0px;
border:1px #f7bbd7;
line-height:150%
}
div.title
{
position:center;
padding:0.5cm;
background-color=#e7f3e7;
}
div.picture
{
position:center;
width:425px;
margin:0;
padding:1cm
}
div.content
{
position:center;
border-left:1px #f7bbd7;
padding:1cm
}
</style>
</head>
<body>
<div class="title">
<img class="title" src=http://www.webdeveloper.com/forum/archive/index.php/"storyofustitle.gif"></div>
<img class="picture" width="425" src=http://www.webdeveloper.com/forum/archive/index.php/"ALHAVINGADRINK.jpg"></div>
<div class="content">This is how Jonathan and Allison met...</div>
</div>
</body>You haven't assigned the background image to any element. (I'm guessing you want to assign it to the body element?)yeah that's what I want to do... I want this...
<!-- w --><a class="postlink" href="http://www.geocities.com/[email protected]/guestbook.html">www.geocities.com/[email protected]/guestbook.html</a><!-- w -->
only with css divs....
<style type="text/css">
{
background-image:
url('sidestripes2.jpg');
background-repeat:
no-repeat;
background-attachment:
fixed;
background-color:#E7F3E7
}
div.container
{
width=100%;
margin=0px;
border:1px #f7bbd7;
line-height:150%
}
div.title
{
position:center;
padding:0.5cm;
background-color=#e7f3e7;
}
div.picture
{
position:center;
width:425px;
margin:0;
padding:1cm
}
div.content
{
position:center;
border-left:1px #f7bbd7;
padding:1cm
}
</style>
</head>
<body>
<div class="title">
<img class="title" src=http://www.webdeveloper.com/forum/archive/index.php/"storyofustitle.gif"></div>
<img class="picture" width="425" src=http://www.webdeveloper.com/forum/archive/index.php/"ALHAVINGADRINK.jpg"></div>
<div class="content">This is how Jonathan and Allison met...</div>
</div>
</body>You haven't assigned the background image to any element. (I'm guessing you want to assign it to the body element?)yeah that's what I want to do... I want this...
<!-- w --><a class="postlink" href="http://www.geocities.com/[email protected]/guestbook.html">www.geocities.com/[email protected]/guestbook.html</a><!-- w -->
only with css divs....