?

Log in

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

> Recent Entries
> Archive
> Friends
> Profile

Links
Schlock Mercenary
Something Positive
Megatokyo
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 !)

Comments:


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

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