Solved

Full length sidebar based on length of page with CSS.

Posted on 2003-11-04
4
555 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
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.

730 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