Previous Message
Next Message

IE 6 and 7 Some Elements don't scroll

Sent by Rod Castello on 22 August 2009 02:02


On Aug 22, 2009, at 6:09 AM, Rod Castello wrote:

> http://smashcube.com/webDesign.html
> 
> In IE 6 and 7, when you scroll down in the website gallery area, some of the elements in the div
scroll and some don't. Works fine in Firefox and Safari.
> I'm stumped. Is it an incorrect doctype?

Because some of those elements are 'pinned' to a certain location due to 'position:relative'.
#insideBox .textBox .box {
    width: 560px;
    height: 240px;
    margin-top: -10px;
    padding: 0;
    /*position: relative;*/ /* <-- remove this, and all elements scroll */
    }

Philippe
---
Philippe Wittenbergh
http://l-c-n.com/


Thanks Phillippe, that worked perfectly. Why is it a problem in IE and not the others?

Rod Castello


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: