Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 29th, 2006, 04:01 PM
Registered User
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Strange IE CSS bug?

Hello all!

Found an annoying CSS bug in IE and can't find a way of fixing it!

Its basically an unordered list with links in it. With a mouseover the border of the list changes to black and the text changes to white. Now, this happens correctly to all of the links in the list, except the first link!! Very strange.

A link to the page with this problem is here -
http://www.tipcet.com

And the stylesheet definition is here:
Code:
div.IndexCentre ul {
    width:90%;
    position:relative;
    list-style-type: none;
    padding-left:0px;
    left: 0px;
    text-align: left;
    }

div.IndexCentre ul li {
    background-color: #FFCC66;
    }


div.IndexCentre ul a {
    display:block;
    padding-left:5px;
    padding-right:5px;
    padding-top:3px;
    padding-bottom:3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-decoration:none;
    font-weight: bold;
    border-right-width: 10px;
    border-left-width: 10px;
    border-right-style: solid;
    border-left-style: solid;
    border-right-color: #FFCC66;
    border-left-color: #FFCC66;
    color:black;
    margin-bottom:2px;
    line-height: 12px;
    }

div.IndexCentre ul li a:hover {
border-color:#000000;
color:#ffffff;
}
Incidentally, the page displays with no problems with Mozilla and Opera based browsers. Only IE. :(

Thanks in advance.






Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS HELP:! CSS EXPANDIBLE BACKGROUND FOR TITLE phpuser2000 CSS Cascading Style Sheets 2 December 19th, 2007 12:36 AM
strange bug on IE Maxxim CSS Cascading Style Sheets 1 October 21st, 2007 10:06 PM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
Bug or no to bug learning C using VS.Net to compil tesh All Other Wrox Books 0 February 14th, 2007 01:06 PM
Strange CSS Theme Problem geomar ASP.NET 2.0 Professional 1 October 20th, 2006 05:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.