> The other one is the main content frame (it is
> positioned absolute) and has a width of 585. Now
> when I visit the page everything shows up nice,
> but once I start scrolling the content frame gets
> smaller and the text in it overflows.
> You can view the site here: http://www.fuckhedz.com/index.php
Naughty address, but nice site, Tim!
Altho a tad slow scrolling on my old boxen. ;)
The bug you asked about is caused by the alpha
transparency in the trans.png background image,
(light area) and I believe it's related to a
known png positioning bug:
I can tell you that if the value for 'left' in
the content rule is altered, the bug induced
'shrinkage' changes correspondingly.
Ironically, the programmers in trying to fix the
transparency positioning bug, might possibly have
induced your bug. However, I have only a gut feeling
to back that up.
You can get around this is by positioning the content
div against the left viewport edge. Not what you want
to hear, I'm sure. So, since you're just blowing up
an image to a set pixel size, and it has this buggy
transparency just to see the main bg image thru, why
not blend that light area right into the background
image itself? At one stroke the bug is avoided,
scrolling is fast, and nothing appears to have changed.
"What the world needs is a good bug ring"--Big John
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup