[SOLVED] Border On Drop Down Menu


Subject: [SOLVED] Border On Drop Down Menu
Hi

I've managed to get 'XS Dropdown & OnClick Menus 1.1.0' working in the current IP. I even got it to work properly in Firefox. :mryellow:

However, my lack of HTML/php knowledge is stopping me from tailoring it. Can anyone tell me how to remove the individual borders on the menu? I want one long list, not several cells as per this image.


drop_down_menu



I'd be very grateful for any help.

Last edited by tc1967uk on Sat 18 Aug, 2007 11:20; edited 1 time in total
Profile PM  
Subject: Re: Border On Drop Down Menu
check

forum-buttons

in your .css

Subject: Re: Border On Drop Down Menu
Hi its for style_ice.css

open /templates/mg_themes/style_ice.css
and and at the and
Code: [Download] [Hide] [Select]
/* XS Dropdown & OnClick Menus */
#dropmenudiv{
position:absolute;
PADDING-RIGHT: 3px;
PADDING-LEFT: 3px;
PADDING-BOTTOM: 3px;
PADDING-TOP: 3px;
BORDER-RIGHT: #c3cdd2 2px solid;
BACKGROUND-POSITION: left top;
BORDER-TOP: #c3cdd2 1px solid;
MARGIN-TOP: 4px;
BORDER-LEFT: #c3cdd2 7px solid;
BORDER-BOTTOM: #c3cdd2 1px solid;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height:12px;
z-index:100;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 0px solid #334C9A;
padding: 1px 0;
text-decoration: none;
}

#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 0px solid #334C9A;
padding: 1px 0;
text-decoration: none;
}

#dropmenudiv a:hover{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 0px solid #334C9A;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}

#dropmenudiv a:hover{ /*hover background color*/
background: #F0F0F0 url(images/bg_row_hover.gif) bottom right no-repeat;
}

for oder style mast edit the colors

Pepi

Subject: Re: Border On Drop Down Menu
I've sorted it

I had to change two numbers to get rid of the divisions between the rows, but still keep the bottom border of the menu itself.

This is the original code


/* XS Dropdown & OnClick Menus */
#dropmenudiv{
position:absolute;
border:1px solid #334C9A;
border-bottom-width: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height:18px;
z-index:100;
}
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #334C9A;
padding: 1px 0;
text-decoration: none;
}
#dropmenudiv a:hover{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid #334C9A;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}
#dropmenudiv a:hover{ /*hover background color*/
background: #F0F0F0 url(images/bg_row_hover.gif) bottom right no-repeat;
}


and this is the edited code:

/* XS Dropdown & OnClick Menus */
#dropmenudiv {
position: absolute;
border: 1px solid #113355;
border-bottom-width: 1;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 18px;
z-index: 100;
}
#dropmenudiv a {
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 0px solid #113355;
padding: 1px 0;
text-decoration: none;
}
#dropmenudiv a:hover {
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 0px solid #113355;
padding: 1px 0;
text-decoration: none;
}
#dropmenudiv a:hover { /*hover background color*/
background: #CBDDE5 url(images/ice/bg_row_hover.gif) bottom right no-repeat;
}



As you can see, I've changed the bottom-border-width value in #dropmenudiv{, and also the border-bottom value in #dropmenudiv a{

I thought I should post the solution just in case someone else needs to use it one day.

Thanks to Zuker and Pepi.

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0829s (PHP: 20% SQL: 80%)
SQL queries: 10 - Debug Off - GZIP Enabled