/    Sign up×
Community /Pin to ProfileBookmark

scrollbars without frames?

Is there a way to display an image within a page without the use of an iframe, but still be able to get scrollbars?

I have a very large image that I want to show at the bottom of a page – allowing users to place notes on the image and make entries into the form at the top of the page. If they have to scroll the entire page down to see the bottom part of the image, they can’t make entries into the fields at the top without scrolling back up again. If they can scroll the image, they can see all parts of it and still be able to make entries into the form.

I use struts for the html tags, but if html can’t do it, neither can struts.

Thanks for the extra brains on the problem.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@JPnycDec 13.2005 — Put the img inside a div, set overflow:scroll
Copy linkTweet thisAlerts:
@SelrachDec 13.2005 — Sure you can place the image within a scrollable div

[CODE]<div style="height: 200; width: 200; overflow: auto;">
<img href="imgname.gif"/>
</div>[/CODE]
Copy linkTweet thisAlerts:
@strus-newbieauthorDec 13.2005 — Thank You! The confirmation is great. I went offline and hit the old HTML book and came up with the same answer. I never did like or understand DIV, but I'll happily change my opinion of them now - I've tried it and it works.

Thanks!
×

Success!

Help @strus-newbie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...