/    Sign up×
Community /Pin to ProfileBookmark

Horizontal Scrolling

Hi

I am attempting the beginnings of a film-strip style photo album and am investigating the possibilities and opportunities for this. I have set up a very simple test page to see how horizontal scrolling would work using <div>’s and CSS overflow.

The following is a basic idea of the functionality I would like:
[URL=http://www.jamesballard.members.beeb.net/horizontal_scrolling_test.htm]http://www.jamesballard.members.beeb.net/horizontal_scrolling_test.htm[/URL]

but this is working on FireFox and not Internet Explorer – I haven’t tested others though it would be useful to know. Basically you can see that the horizontal scroll appears on FireFox but not on IE. I have used a similar technique for fixing <div>s for vertical scrolling but can’t see where I have gone wrong on this one. Is it just something in IE or does anyone have a solution.

Would iframes be a better solution? I would prefer a CSS solution if there is one.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@MagiauthorJan 19.2006 — I have solved the first part I need. To get overflow to work in IE you need to specify a width (for x) and height (for y) so putting width:100% in did the trick.

Works in FireFox, IE, Opera and Netscape once I changed to overflow:auto instead of using overflow-x and overflow-y. I think the only issue is the whitespace:nowrap not functioning in IE5.0.
Copy linkTweet thisAlerts:
@toicontienJan 19.2006 — If you're speaking about Internet Explorer 5.01 for Windows, then white-space isn't supported. IE5-Mac supports that property.
×

Success!

Help @Magi 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.17,
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,
)...