Skip to content Skip to sidebar Skip to footer

Fixed Positioned Div Moves To The Side While Scrolling The In Firefox, Works Fine In Other Browsers

I have 2 pages on my site that have the same layout. Each page has a div in the right sidebar that with the help of jquery changes it's class when you scroll down the page. I notic

Solution 1:

I cannot say why this is happening, but I found out that you can get rid of the "jumping" effect by changing this line:

<td width="664" valign="top"class="content2">

to this:

<td valign="top"class="content2">

I believe that the width set in the html, somehow clashes with the padding - but I can't really say that it's the true reason, but at least the fix above seems to fix your issue in FF

Post a Comment for "Fixed Positioned Div Moves To The Side While Scrolling The In Firefox, Works Fine In Other Browsers"