troubleshooting Question

li:last-child

Avatar of JCWEBHOST
JCWEBHOST asked on
ASPC#ASP.NET
3 Comments3 Solutions819 ViewsLast Modified:
Hey guys my css code not working in IE 8 but works in google chrome and FF

.Menu ul li:last-child
{
      border-right-style: solid;
      border-right-width: 1px;
      border-right-color: #D8B06A;
}



<div class="Menu" id="ctl00_Menu">
      <div class="AspNet-Menu-Horizontal">
                  <ul class="AspNet-Menu">
                        <li class="AspNet-Menu-Leaf">
                              <a href="default.aspx" class="AspNet-Menu-Link" title="Home">
                                    Home</a>
                        </li>
                        <li class="AspNet-Menu-WithChildren">
                              <a href="javascript:__doPostBack('ctl00$Menu','bTours')" class="AspNet-Menu-Link" title="Tours">
                                    Tours</a>
                              <ul>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-tours-from-cape-town/default.aspx" class="AspNet-Menu-Link" title="South African Tours From Cape Town">
                                                South African Tours From Cape Town</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-tours-from-durban/default.aspx" class="AspNet-Menu-Link" title="South African Tours From Durban">
                                                South African Tours From Durban</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-tours-from-johannesburg/default.aspx" class="AspNet-Menu-Link" title="South African Tours From Johannesburg">
                                                South African Tours From Johannesburg</a>
                                    </li>
                              </ul>
                        </li>
                        <li class="AspNet-Menu-WithChildren">
                              <a href="javascript:__doPostBack('ctl00$Menu','bCruises')" class="AspNet-Menu-Link" title="Cruises">
                                    Cruises</a>
                              <ul>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-tour-cruises/default.aspx" class="AspNet-Menu-Link" title="South African Tour Cruises">
                                                South African Tour Cruises</a>
                                    </li>
                              </ul>
                        </li>
                        <li class="AspNet-Menu-Leaf">
                              <a href="transfers-shuttles.aspx" class="AspNet-Menu-Link" title="Transfers">
                                    Transfers</a>
                        </li>
                        <li class="AspNet-Menu-WithChildren">
                              <a href="javascript:__doPostBack('ctl00$Menu','bBookings')" class="AspNet-Menu-Link" title="Bookings">
                                    Bookings</a>
                              <ul>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-booking-transfers-shuttles.aspx" class="AspNet-Menu-Link" title="Book Transfer">
                                                Book Transfer</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-booking-day-tour.aspx" class="AspNet-Menu-Link" title="Book Day Tour">
                                                Book Day Tour</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-booking-overland-tour.aspx" class="AspNet-Menu-Link" title="Book Overland Tour">
                                                Book Overland Tour</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-african-booking-cruise-tour.aspx" class="AspNet-Menu-Link" title="Book Cruise Tour">
                                                Book Cruise Tour</a>
                                    </li>
                              </ul>
                        </li>
                        <li class="AspNet-Menu-WithChildren">
                              <a href="javascript:__doPostBack('ctl00$Menu','bTourist Info')" class="AspNet-Menu-Link" title="Tourist Info">
                                    Tourist Info</a>
                              <ul>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="travel-tips.aspx" class="AspNet-Menu-Link" title="Travel Tips">
                                                Travel Tips</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="south-africa-weather.aspx" class="AspNet-Menu-Link" title="Weather">
                                                Weather</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="current-news-on-south-africa.aspx" class="AspNet-Menu-Link" title="News">
                                                News</a>
                                    </li>
                              </ul>
                        </li>
                        <li class="AspNet-Menu-WithChildren">
                              <a href="javascript:__doPostBack('ctl00$Menu','bOur Company')" class="AspNet-Menu-Link" title="Our Company">
                                    Our Company</a>
                              <ul>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="about-us.aspx" class="AspNet-Menu-Link" title="About Us">
                                                About Us</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="contact-us.aspx" class="AspNet-Menu-Link" title="Contact Us">
                                                Contact Us</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="privacy-policy.aspx" class="AspNet-Menu-Link" title="Privacy Policy">
                                                Privacy Policy</a>
                                    </li>
                                    <li class="AspNet-Menu-Leaf">
                                          <a href="terms-and-conditions-of-travel.aspx" class="AspNet-Menu-Link" title="Terms">
                                                Terms</a>
                                    </li>
                              </ul>
                        </li>
                  </ul>
 
      </div>
</div>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros