/    Sign up×
Community /Pin to ProfileBookmark

overflow only horizontal

ok, i have loads of images that are all next to eachother in code terms, there is no br or anything in between them.

overflow scroll still makes it scroll down wards though, the images dont expand over the width.

i know there is an IE only option, but how else could i get a div to only overflow horizontaly?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@FangFeb 23.2005 — Moz. has: [i]overflow:-moz-scrollbars-horizontal;[/i] (and vertical of course)

or show us some code.
Copy linkTweet thisAlerts:
@toicontienFeb 23.2005 — If the images aren't floated, apply white-space: nowrap; to the CSS of the images' containing block. Images are inline by default.
Copy linkTweet thisAlerts:
@FantatierauthorFeb 24.2005 — [i]Originally posted by toicontien [/i]

[B]If the images aren't floated, apply white-space: nowrap; to the CSS of the images' containing block. Images are inline by default. [/B][/QUOTE]


thanx alot it worked ? ?
×

Success!

Help @Fantatier 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.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...