Solved

Full length sidebar based on length of page with CSS.

Posted on 2003-11-04
4
551 Views
Last Modified: 2013-11-19
Hey all,

I have a page that is laid out using Cascading style sheets. The link to the parent page is http://pps.ddogdesigns.com/default_new.asp.

The problem is actually on the detail page of the news articles located on the left side of the above page so click on one of the news articles to get to the detail page, any of the articles should work. Or here is a direct link http://pps.ddogdesigns.com/aboutus/news/news.asp?newsid=1

The problem is in the left sidebar that says "Hello World"....I need that black background to go the full length of the page rather than stopping part way down.

Here is the Style that is controlling everything in that sidebar;

.sidebar {
      position: absolute;
      background-image: url("/images/redesign/subpagessidebar.gif");
      background-repeat: repeat-y;
      align: left;
      margin: 0;
      padding: 0;
      z-index: 0;
      top: 126px;
      height: 100%;
      left: 5px;
      width: 140px;      
      text-indent: 15px;
      color: white;
      }

Please help and thanks,
Knotty Dred
0
Comment
Question by:knottydrd
  • 4
4 Comments
 
LVL 4

Expert Comment

by:Fendrin
ID: 9681161
ok, I have figured out that the broblem is *somehow* realted to tnephotoarticleimg2.jpg... without this image, it looks just fine. I will continue looking into this...
0
 
LVL 4

Expert Comment

by:Fendrin
ID: 9681205
ok, i was wrong.. it's not the picture explicitly... it's the height of the main area... I have an idea.. let me try it and get back to you...
0
 
LVL 4

Accepted Solution

by:
Fendrin earned 250 total points
ID: 9681266
I have cornered the problem, i just need to figure out how to eliminate it. The problem is that you have everything positioned absolutely... now, when an object is positioned absolutely, all of it's positional and dimensional attributes are raltive to the viewport.... so height:100% stops at the bottom edge of the screen instead of continuing all the way down the page.
0
 
LVL 4

Expert Comment

by:Fendrin
ID: 9725715
gald to have helped.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now