Forum Moderators: open

Message Too Old, No Replies

DIV contents scrolling by itself!

         

H_Man

4:58 pm on Nov 13, 2009 (gmt 0)

10+ Year Member



Hi people, its my first post here so lets hope I get it right.

Im working on my personal site at the moment for my portfolio and ive finally got to a stage where I was getting happy then I found this problem which started happening in Firefox (using version 3.5.5)

I have a DIV with a vertical scroll bar and whos CSS is:

#blog {
float:left;
width:695px;
height:500px;
background:#FFF;
overflow:auto;
}

within the DIV is some blog entries controlled through wordpress which isnt too important Im thinking.

What the problem is is a couple of the posts contain video embeded from either youtube or vimeo and when you click on the play button (or in fact anywhere within the embeded video) if you move the mouse to the bottom of your display (just to move the pointer) my DIV containing the posts starts to scroll down page just like as if I had scrolled the page myself but all I had done is move the mouse.

Im just not sure whats happening? Some bug in firefox or scipt or is it a 'mouse focus' problem?

Could anyone advise me?

Thank you
H Man

tedster

4:54 pm on Nov 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums, H_Man.

Step #1 would be to check the W3C Validator for HTML [validator.w3.org] and the W3C Validator for CSS [jigsaw.w3.org]. Fix or understand any error messages you get.

Have you done that?

H_Man

12:34 am on Nov 15, 2009 (gmt 0)

10+ Year Member



I'll get on that right away, there is a live version of it now. Coding wise i'd say im 80% of the way through but no graphics have been made yet so it looks a bit bare.

<snip>

I'll see what the W3C validator says

Cheers
H Man

[edited by: bill at 12:37 am (utc) on Nov. 15, 2009]
[edit reason] No links to example sites [/edit]