scrolling pic
Sunday, 13 September 2009 10:44 pmYay! I did it. The RandomWalks cartoons should no longer screw up peoples' friends pages because I've worked out how to make them scroll inside the page. The trick is to surround the image tag with div tags like this:
This puts scrollbars below and to the right of the picture so that if it doesn't fit in the page, instead of widening the table the picture accommodates the page.
Cool huh?
Took me a lot of detective work to figure this out. Couldn't find it documented anywhere.
<div style="overflow: scroll"><img src="some_image" width="pixels" height="pixels"></div>This puts scrollbars below and to the right of the picture so that if it doesn't fit in the page, instead of widening the table the picture accommodates the page.
Cool huh?
Took me a lot of detective work to figure this out. Couldn't find it documented anywhere.
RandomWalks
Date: 2009-09-13 11:17 pm (UTC)some feed back for you. I printed out your two cartoons and have been tryng them out on some of the kids that come thru this gate as time permits. so far the oldest one was about 8 and some of the words were to hard for her. she didn't understand what they ment. She did however really like the pictures. if you don't mind I would like to show them to a few school teachers that come thru here.
J.
Re: RandomWalks
Date: 2009-09-14 11:40 am (UTC)Hmmm... I'll look at trying to define my words when I use uncommon ones. My biggest restriction is space though. Not a lot of room for getting complex concepts across. It does give me something to think about though.
I'd be eternally grateful for you showing it to teachers (and more kids of course too). Please feel free to show them to anyone.