Solved

CSS help with a border

Posted on 2014-07-19
2
321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

738 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