kroscoe777@verizon.net
03-25-2010, 03:21 PM
I found this free template off a site where it is free to use and it validates html and css.
The problem is, if you minimize the screen the left sidebar does not collapse properly. I know it is because the body has an image repeating that makes up part of the sidebar background. Confusing I know, so I put it up this website where you can see it behave badly.
http://gsconsulting2010.com/problems/
As you can see, the sidebar has an image no repeat for the top part and then uses the rest of the background from the body background.
I tried negative margins, I tried putting in different widths, so I am not sure there is a css solution. I may have to edit the images. I am not sure how I can convey the images well but the zip template can be found:
http://www.freecsstemplates.org/css-templates/19/
Here is the css code:
<code css body>
body {
background: url(images/img01.png) repeat-y center;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #9E9D89;
}
</code css body>
http://gsconsulting2010.com/problems/images/img01.png
<code css sidebar>
#sidebar {
float: left;
width: 240px;
padding: 20px 0 0 30px;
background: url(images/img03.png) no-repeat;
font-size: smaller;
color: #E3E3D4;
}
</code css sidebar>
http://gsconsulting2010.com/problems/images/img03.png
<code css content>
#content {
float: right;
width: 580px;
padding: 35px 50px 0 0;
background: url(images/img04.png) no-repeat right top;
}
</code css content>
http://gsconsulting2010.com/problems/images/img04.png
Is there a css solution to this or am I banging head against the wall and need to do something with the images?????:confused:
Much appreciated for any advise.
Kip
The problem is, if you minimize the screen the left sidebar does not collapse properly. I know it is because the body has an image repeating that makes up part of the sidebar background. Confusing I know, so I put it up this website where you can see it behave badly.
http://gsconsulting2010.com/problems/
As you can see, the sidebar has an image no repeat for the top part and then uses the rest of the background from the body background.
I tried negative margins, I tried putting in different widths, so I am not sure there is a css solution. I may have to edit the images. I am not sure how I can convey the images well but the zip template can be found:
http://www.freecsstemplates.org/css-templates/19/
Here is the css code:
<code css body>
body {
background: url(images/img01.png) repeat-y center;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #9E9D89;
}
</code css body>
http://gsconsulting2010.com/problems/images/img01.png
<code css sidebar>
#sidebar {
float: left;
width: 240px;
padding: 20px 0 0 30px;
background: url(images/img03.png) no-repeat;
font-size: smaller;
color: #E3E3D4;
}
</code css sidebar>
http://gsconsulting2010.com/problems/images/img03.png
<code css content>
#content {
float: right;
width: 580px;
padding: 35px 50px 0 0;
background: url(images/img04.png) no-repeat right top;
}
</code css content>
http://gsconsulting2010.com/problems/images/img04.png
Is there a css solution to this or am I banging head against the wall and need to do something with the images?????:confused:
Much appreciated for any advise.
Kip