/    Sign up×
Community /Pin to ProfileBookmark

have overflow produce vertical scrollbars only

folks,

there be a way o’havin good ol’ overflow-attribute make some vertical bars but none horizontal even if it would otherwise do so?

‘ll be jus’ great.

keep groovin.

p

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoJan 14.2004 — overflow:auto; will do it if the div does not have to stretch horizontally. Otherwise you have the ie proprietary code

overflow-x:hidden;
Copy linkTweet thisAlerts:
@Paul_JrJan 14.2004 — [i]Originally posted by PeOfEo [/i]

[B]overflow:auto; will do it if the div does not have to stretch horizontally. Otherwise you have the ie proprietary code

overflow-x:hidden; [/B]
[/QUOTE]

In FireBird, I had a problem with [FONT=courier new]overflow: auto;[/FONT]. Every time I moused over any of my links, my content would jump up on the page very breifly. It always went back, but it was a flash, and I didn't know what the hell was going on. So, I used [FONT=courier new]overflow-y: auto;[/FONT] instead, which is what I needed anyway.

That was weirding me out. Nothin' wrong with my CSS that I could see. Markup looked fine, too. Ran it through the validators to make sure.
Copy linkTweet thisAlerts:
@PeOfEoJan 14.2004 — well overflow-x -y is ie only proprietary. Auto will work for everything, but you have to make sure the content is not stretching all over the x axis, like your links or flash or rollovers can't cause stretching or it is probably going to cause problems.
×

Success!

Help @Pierre_Rouillet 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.25,
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,
)...