Solved

CSS help with a border

Posted on 2014-07-19
2
295 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now