Log in

No account? Create an account
Another test ... - He's just this guy, you know. — LiveJournal

> Recent Entries
> Archive
> Friends
> Profile

Schlock Mercenary
Something Positive
Irregular Webcomic
Sluggy Freelance

December 21st, 2006

Previous Entry Share Next Entry
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 :-)

Autumn leaves

Current Mood: curiouscurious

(7 touches | En garde !)


[User Picture]
Date:December 21st, 2006 04:56 pm (UTC)
Ooh, very clever.

Care to share the code, or is it a state secret?
[User Picture]
Date:December 21st, 2006 09:37 pm (UTC)
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) )
[User Picture]
Date:December 21st, 2006 09:41 pm (UTC)
Yah, looked like the "auto" works well.
Date:December 21st, 2006 09:53 pm (UTC)
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.
[User Picture]
Date:December 21st, 2006 09:38 pm (UTC)
Darn, the <pre> tags didn't work. Let's try again :
The code was :
<div style="overflow: auto">
<img src=blah blah>
[User Picture]
Date:December 21st, 2006 05:18 pm (UTC)
No prob in FF and it's beautiful :)
[User Picture]
Date:December 22nd, 2006 05:22 am (UTC)
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 think.

I don't do CSS (either of the three or so types).

> Go to Top