/    Sign up×
Community /Pin to ProfileBookmark

Overflow x and y properties

I have a roll over dropdown with one of the links extending beyond the bottom of the page and I want a scroll bar to help compensate. I have tried the overflow properties but there are multiple problems. First, it inherits every list when I only need it for the long one. Also, it seems to be inheriting each link and not scrolling through my entire sub-list as a group. Any ideas on how to fix this. Here is the code I am using:

li a {
overflow-y: scroll;
height: 182px;
}

Thanks for any help.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelJan 10.2007 — We'd have to see more of your code to understand this, -but I am thinking that having a scrollbar on a drop-down is maybe confusing... because if you move the pointer-tool off of the drop-down, you've changed the focus/hover state and doesn't the drop-down then retract itself? I would personally find it ...confusing to use. ?
×

Success!

Help @crooks 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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