/    Sign up×
Community /Pin to ProfileBookmark

good with IE/firefox,but problem with safari‏

[url]http://www.itprofessional07.info/dropdown/31.html[/url]
When you put mouse on “about us”,you will see drop-down menu.

Under internet explorer/firefox,it is fine.
Under safari,it looks different.There is one line space between “about us” and drop-down menu.

What’s happend?I want to get the same under safari as under IE/firefox.Any help?

Thanks a lot!

chad

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@KorMay 20.2008 — Give a certain height to your links
<i>
</i>#dropmenudiv a {
...
}
Copy linkTweet thisAlerts:
@singlehouse03authorMay 20.2008 — <style type="text/css">

#dropmenudiv{

position:absolute;

border:1px solid black;

border-bottom-width: 0;

font:normal 12px Verdana;

line-height:18px;

z-index:100;

}

#dropmenudiv a{

width: 100%;

display: block;

text-indent: 3px;

border-bottom: 1px solid black;

padding: 1px 0;

text-decoration: none;

font-weight: bold;

}

#dropmenudiv a:hover{ /*hover background color*/

background-color: yellow;

}

</style>
×

Success!

Help @singlehouse03 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.18,
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,
)...