Solved

CSS help with a border

Posted on 2014-07-19
2
303 Views
Last Modified: 2014-07-19
This seems like it should be a simple fix, but I'm stumped. Please visit www.prowodev.com/links/q.html. You'll notice each of the menu items have a border-right css setting. This is what I want, however I don't want the last menu item (Contact) to have a right border. I've tried adding the css code below, but this isn't working. How can I remove the right border from the last menu item?
.menu-449 {border-right:none;}

Open in new window

0
Comment
Question by:isaacr25
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40206417
Add the following CSS after .main-menu li {...}

.main-menu li:last-child {
border-right:0
}

Open in new window

0
 

Author Closing Comment

by:isaacr25
ID: 40206433
Thank you!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Easy responsive table out of existing table 28 55
maps stopped work unsure why 7 34
Outlook opens HTML email as text 4 22
ASP server side get value 15 19
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question