December 21st, 2006
|03:01 pm - Another test ...|
Ok - let me know if this image breaks your friends page or your browser in any way.
In theory, if the image is too wide for your browser window, you should see a seperate scrollbar appear just for the image, otherwise, you'll just have your normal browser scrollbar(s). IE6, however, doesn't seem to understand the style=overflow tag I'm using, so I'm hoping that no IE users out there have narrow screens :-)
Current Mood: curious
|Date:||December 21st, 2006 04:56 pm (UTC)|| |
Ooh, very clever.
Care to share the code, or is it a state secret?
It's Top Secret ... but I'll let you in, 'cos I'm sure you're trustworthy :-)
It was something like this :
(the one I tested with the other day used style="overflow: scroll", but for most people the scrollbars were present all the time (but greyed-out when the window was sufficiently wide) )
|Date:||December 21st, 2006 09:41 pm (UTC)|| |
Yah, looked like the "auto" works well.
I like this one a lot more than the other one because it only has the scroll bar when the image doesn't fit. Now if only this could be turned into an option for all images that break flists.
Darn, the <pre> tags didn't work. Let's try again :
The code was :
<div style="overflow: auto">
<img src=blah blah>
No prob in FF and it's beautiful :)
|I get a vertical scrolling bar in Mozilla, but that's probably because you haven't defined the vertical extent of the division properly (since it's image + padding, not just image).|
I don't do CSS (either of the three or so types).