Solved

Full length sidebar based on length of page with CSS.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

20 Experts available now in Live!

Get 1:1 Help Now