Sep. 13th, 2009

miriam_e: from my drawing MoonGirl (Default)
Yay! 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:
<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.

Profile

miriam_e: from my drawing MoonGirl (Default)
miriam_e

June 2025

S M T W T F S
1234567
891011121314
15161718192021
222324 25262728
2930     

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 31st, 2025 10:39 pm
Powered by Dreamwidth Studios