> home
> how we work
> who we're working for
> about us
> publications
> buy apache essentials
> client login

play
static·red
edmonton and area web development

Current Projects

Edmonton Weather


>>Le blog.

speakeasy archives


scrolling bug fixed in mozilla

<< are you now or have you ever been..... | Main | thanks to zeldman... >>

Finally got around to fixing the horizontal scrolling bug Alan was bitching about.... It's a difference between how different browsers handle the width element. IE sees width as being the width of the container element (if it's in the <body>, then it's 100% of the body width... if it's in a sized <div>, it's 100% of the sized <div>), whereas Mozilla appears to view it as 100% of the <body> width. One of the <div>s I had created had a padding of 10px, so it was sizing the div to 100% of the body, and then adding the padding on for some reason, making the page wider than it was supposed to be. I removed the width statement, and replaced it with right: 0px;, which extends the element (in most browsers) to the far right of the browser window.

Posted by Darren James Harkness on Wednesday, December 19, 2001 09:18 AM
Trackbacks...


Comments:
>> arcterex » Wednesday, December 19, 2001 01:42 PM

Only thing is you didn't fix it :) Galeon still scrolls as does mozilla!

>> darren » Wednesday, December 19, 2001 01:53 PM

Of course, it would help if I didn't screw up and overwrite the stylesheet file that had the fix..... :)

>> arcterex » Wednesday, December 19, 2001 02:14 PM

Whohoo it works!

Now if only moz would speed up their rendering of watermarks. Those bastards!


Post a comment









Remember personal info?


Comments:


* under no circumstances will your email address be traded for a sack of quarters. No-sirree.