HighDots Forums  

Extend BG Color Down Past Div?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Extend BG Color Down Past Div? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gscott66
 
Posts: n/a

Default Extend BG Color Down Past Div? - 09-15-2005 , 12:38 PM






Hello,

Any advice on how extend Left Nav Bar BG-color all the way down to the
footer?

This is my first attempt with pure css layout...no tables...and I am stuck
with a background-color issue.

My left nav bar background-color is #80581d (brownish) and I would like to
have it extend all the way down to the footer....without adding content
(blank-brown). But the BODY - BG - Img shows thru...

There will not be that many links to push the color down on pages that have
a long main content.

Could I create a "brown image" and set it...but wouldn't that cause the same
problem?

Here is the link: http://www.foundation.guptonwebdesign.com/

Here is the css for the nav bar:

#leftnav {
float: left;
width: 175px;
height:auto;
margin: 0;
margin-right: 5px;
padding: 5px;
background-color: #80581d;

Thanks in advance...

Scott

PS...I've looked at the CSS Validation Warnings and they don't appear to
make sense. Is this important?




Reply With Quote
  #2  
Old   
Stian Lund
 
Posts: n/a

Default Re: Extend BG Color Down Past Div? - 09-15-2005 , 01:07 PM






"gscott66" <guptonfinancial (AT) cox (DOT) net> wrote in
news:WrhWe.18068$tB5.7523@okepread06:
Quote:
My left nav bar background-color is #80581d (brownish) and I would
like to have it extend all the way down to the footer....without
adding content (blank-brown). But the BODY - BG - Img shows thru...
I don't think you can achieve this without adding *something* to make the
sidebar extend to the bottom, but ALA has a good article which I think
might solve your problem:
http://www.alistapart.com/articles/fauxcolumns/

They use a colored image but I believe you can use a transparent one as
well...

hth,
Stian


Reply With Quote
  #3  
Old   
gscott66
 
Posts: n/a

Default Re: Extend BG Color Down Past Div? - 09-15-2005 , 01:21 PM



"Stian Lund" <stian.REMOVE.lund (AT) operamail (DOT) com> wrote


"""" might solve your problem: >
http://www.alistapart.com/articles/fauxcolumns/ """"""

Stian,

Thank you...I am reading it as we speak....
--
Scott

"Stian Lund" <stian.REMOVE.lund (AT) operamail (DOT) com> wrote

Quote:
"gscott66" <guptonfinancial (AT) cox (DOT) net> wrote in
news:WrhWe.18068$tB5.7523@okepread06:
My left nav bar background-color is #80581d (brownish) and I would
like to have it extend all the way down to the footer....without
adding content (blank-brown). But the BODY - BG - Img shows thru...

I don't think you can achieve this without adding *something* to make the
sidebar extend to the bottom, but ALA has a good article which I think
might solve your problem:
http://www.alistapart.com/articles/fauxcolumns/

They use a colored image but I believe you can use a transparent one as
well...

hth,
Stian



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.