stewartrose
01-09-2008, 06:43 PM
Good Afternoon Team, as a newbie to css I am loosing to much hair and need some help please.. to best descripbe it, imagain a clear page floating in the center of screen, now add image to both left and right side only, and as the page gets longer both images pulls down with the page..
This is what I have but it the graphic does not grow with height...
HTML
<div id="main">
<div id="left"></div>
<div id="right"></div>
<div id="middle"><div class="menu">
</div>
<div>
Like many other pet websites about missing and found pets, our services were developed for you because of the lack of information, resources and assistance in making the most of the Internet to reunite missing pets with their owners.
<br />
</div>
</div>
body {
background-color: #788cf0;
}
#main {
margin-left: auto;
margin-right: auto;
width:800px;
}
#left {
float:left;
width:35px;
background:url("images/rep_left.gif");
background-repeat: repeat-y;}
#right {
float:right;
width:35px;
background:url("images/rep_right.gif");
background-repeat: repeat-y;}
#middle {
height:100%;
background:white;
}
.column-padding {
margin:0; padding:0.5em 1em;
}
All the best and Thanks for any help from Alan
This is what I have but it the graphic does not grow with height...
HTML
<div id="main">
<div id="left"></div>
<div id="right"></div>
<div id="middle"><div class="menu">
</div>
<div>
Like many other pet websites about missing and found pets, our services were developed for you because of the lack of information, resources and assistance in making the most of the Internet to reunite missing pets with their owners.
<br />
</div>
</div>
body {
background-color: #788cf0;
}
#main {
margin-left: auto;
margin-right: auto;
width:800px;
}
#left {
float:left;
width:35px;
background:url("images/rep_left.gif");
background-repeat: repeat-y;}
#right {
float:right;
width:35px;
background:url("images/rep_right.gif");
background-repeat: repeat-y;}
#middle {
height:100%;
background:white;
}
.column-padding {
margin:0; padding:0.5em 1em;
}
All the best and Thanks for any help from Alan