/    Sign up×
Community /Pin to ProfileBookmark

Hello,

My Menu is located at
[url]http://djshawnmichaels.com/123[/url]

My questions are
how do I get rid of the border on the right?

In the features are, how can I make the dropdown aligned with “Features” instead of centered

How can I make the text align in the middle?

This is the CCS

Thanks

/* Begin CSS Popout Menu */

#menu{
width:100%;
float:left;
margin: 0;
padding: 0;
}

#menu a, #menu h2{
font:bold 12px/16px arial,helvetica,sans-serif;
display:block;
border: 1px solid #333;
border-left: 0;
border-color:#000;
white-space:nowrap;
margin:0;
width:8.8em;
padding:4px 0 1px 3px;
font-weight:bolder;
}
ul#menu li#last {
border-right: 0;
}
#menu h2{
background: #D56A00;
}

#menu a{
background:#000;
text-decoration:none;
color:#000000;
}

#menu a, #menu a:visited{
background: #D56A00;
color:#000;
}

#menu a:hover{
color:#FFFFFF;
background:#CC0000;
}

#menu a:active{
color:#000;
background:#000;
}

#menu ul{
list-style:none;
margin:0;
padding:0;
float:left;
width:9.7em;
}
#menu li a#here {
font-weight:bolder;
background-color:#FFFF33;
}
#menu li a#here:hover {
color: #000;
}
#menu li{
position:relative;
text-align:center;
}

#menu ul ul{
position:absolute;
z-index:500;
top:auto;
display:none;
}

#menu ul ul ul{
top:0;
left:100%;
}

/* Begin non-anchor hover selectors */

/* Enter the more specific element (div) selector
on non-anchor hovers for IE5.x to comply with the
older version of csshover.htc – V1.21.041022. It
improves IE’s performance speed to use the older
file and this method *
/

div#menu h2:hover{
background: #D56A00;
}

div#menu li:hover{
cursor:pointer;
z-index:100;
}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
{display:block;}

/* End of non-anchor hover selectors */

/* Styling for Expand */

#menu a.x, #menu a.x:visited{
font-weight:bold;
color:#000;
background:#eee url(/css/images/expand3.gif) no-repeat 100% 100%;
}

#menu a.x:hover{
color:#fff;
background:#000;
}

#menu a.x:active{
color:#000;
background:#ccc;
}

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@comptech520authorMar 24.2006 — also, this is in IE that I am seeing all of this
Copy linkTweet thisAlerts:
@KDLAMar 24.2006 — Border on the right -
#menu a, #menu h2{
font:bold 12px/16px arial,helvetica,sans-serif;
display:block;
border: 1px solid #333;
border-left: 0;
border-color:#000;
white-space:nowrap;
margin:0;
width:8.8em;
padding:4px 0 1px 3px;
font-weight:bolder;
}

You've got several border settings in here. Delete all of them, then place something like this in there:
border-top: 1px solid #000; border-bottom: 1px solid #000
You can play around with that to create any effect. Here's a reference: http://www.w3schools.com/css/css_border.asp

To align the text in the center, also add to the same #menu a, #menu h2:
text-align: center;
KDLA
×

Success!

Help @comptech520 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.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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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