Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 11-12-2011, 02:26 PM Help with sub menu
Extreme Talker

Posts: 161
Trades: 0
Hello i have this site here that am working on.

The side menu when you click swapz has sub menu and i cant get rid of the border at the bottom, how do i get this removed.

Thanks
afcbob is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-12-2011, 02:45 PM Re: Help with sub menu
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
It seems the code in your style.css document is setting a bottom border for li elements inside the sidebar:

Code:
#side_menu li {
	border-bottom:1px;
	border-bottom-color:#999;
	border-bottom-style:solid;
	list-style:none;
	padding-left:20px;
	margin-left:-40px;
	line-height:24px;
	width:169px;
	color:#fff;
	font-size:14px;
}
Try adding this below it:

Code:
#side_menu li:last-child{border-bottom:0;}
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 11-12-2011, 03:05 PM Re: Help with sub menu
Extreme Talker

Posts: 161
Trades: 0
It worked only for the last sub menu and not all sub menu
afcbob is offline
Reply With Quote
View Public Profile
 
Old 11-12-2011, 03:06 PM Re: Help with sub menu
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Hm, seems to be working for me. What's the issue now?
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 11-12-2011, 03:11 PM Re: Help with sub menu
Extreme Talker

Posts: 161
Trades: 0
The border under each sub menu showing in the image below want it removed

Attached Images
File Type: gif Screen-shot-2011-11-12-at-20.08.23.gif (5.8 KB, 18 views)
afcbob is offline
Reply With Quote
View Public Profile
 
Old 11-12-2011, 03:21 PM Re: Help with sub menu
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Oh, well in that case just remove the bottom-border:1px; line from your CSS.
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 11-12-2011, 03:26 PM Re: Help with sub menu
Extreme Talker

Posts: 161
Trades: 0
Yeah but i want it on the the other menu items just not the sub menus.
afcbob is offline
Reply With Quote
View Public Profile
 
Old 11-13-2011, 05:52 AM Re: Help with sub menu
lizciz's Avatar
Super Spam Talker

Posts: 807
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I think you'll want something like this:
Code:
#side_menu li ul li {
	border-bottom: 0;
}
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is online now
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 12-05-2011, 05:38 AM Re: Help with sub menu
Abhinandangarg's Avatar
Super Talker

Posts: 119
Trades: 0
Quote:
Originally Posted by afcbob View Post
The border under each sub menu showing in the image below want it removed


I liked your explaining example !
__________________

Please login or register to view this content. Registration is FREE
....
Please login or register to view this content. Registration is FREE
...
Please login or register to view this content. Registration is FREE
Abhinandangarg is offline
Reply With Quote
View Public Profile Visit Abhinandangarg's homepage!
 
Reply     « Reply to Help with sub menu
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.70901 seconds with 13 queries