Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background fixed ... not fixed in IE 2

Status
Not open for further replies.

maharg

Technical User
Mar 21, 2002
184
Hi

I am struggling to get IE9 to play ball.

Please see
On the right hand side are a group of scroll boxes with grey tabs.
In Firefox, you will see an internal shadow in each box, created by a background inmage.

In IE, the background moves as you scroll, it is fixed to the scrolled content, rather than the parent <div>

My css is...

Code:
div.scroll2
{color: rgb(0,0,90);
font-size:9px;
line-height: 10px;
padding-top: 0px;	
height: 90px;	
width: 170px;	
overflow: auto;	
border: 1px solid  rgb(209,209,245);	
padding: 5px;
background-image:url(bg_selections.gif);
background-repeat:repeat-x;
background-position:top center fixed inherit;
}

Any help much appreciated!

Thank in advance,

Graham
 
There is no fixed value for the background-position property . Perhaps what you want is background-attachment instead.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Thanks guys, that sorted it out!

Much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top