Do not use on any
shared computer
July 24, 2008 02:19pm pdt
 
[x]
Attachment Details

CSS equal height overflow:hidden with back to top anchor link

Hi ya,

I use the following css for the equal height which works perfectly except with "back to top" anchor tags. Parent class has overflow:hidden property and it hide all the top bits of the page when I jump down the page by anchor tag id and "back to top" stop working. I fixed with position:relative, which works only on IE7, not on IE6 and Firefox. You can look the error on following url : http://gist-net.com/patient-infection-clostridium.aspx

any help will be appreciated and I need to fix it urgently. also any idea to hide the bottom overflow only?

#container
{
      position:relative;
      width:820px;
      float:left;
      overflow:hidden;      
}
.content-container-outside
{
      overflow:hidden;
}
#content-container
{
      float: left;
      margin:0;
      width: 620px;
      min-height:600px;
      background-color:#ffffff;
      padding:0px;
      margin-bottom:-2500px;
      padding-bottom:2500px;
}
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: ayeayemyo
Question Asked On: 05.13.2008
Participating Experts: 2
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by Eternal_Student

Rank: Wizard

Expert Comment by Eternal_Student:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by FSIFM
Expert Comment by FSIFM:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by ayeayemyo
Author Comment by ayeayemyo:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by ayeayemyo
Author Comment by ayeayemyo:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628