SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Arrow CSS menu border IE problem.

    Hi

    I tried to put border into my menu bar when the mouse hover.
    http://czone01.com/zodesk/dk-eDev/indextest.htm

    but the border works properly under firefox but not with M.S.I.E.

    the codes are below?
    Code:
    	a.menu:link {
    		color: #F8D274; 
    		font:bold;}
    	a.menu:visited {
    		color: #F8D274; 
    		font:bold;
    		}
    	a.menu:hover {
    		color: #000000;
    		font-style:italic;
    		font-weight: bold; 
    		background-color:#FFFFFF;
    		border-style: solid;
    		border-color: #F8D274;
    		border-width: 6px;
    		border-top:'3px' 'solid' 'cyan';
    	}
    	a.menu:active {
    		color: #F8D274; 
    		font-weight: bold; 				
            font-style:italic; 
    		text-decoration: underline;
    		}
    	a:menu:focus {
    		color: #F8D274; 
    		font-weight: bold; 				
            font-style:italic; 
    		text-decoration: underline;
    	}
    Is there a way to fix this?
    I want to retain the background color of the text with the border of it.

    Could you my friend teach me and show me some example that will be very
    helpful.

    Thank you in advance.

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe the anchors could to be block-displayed?
    I think something like this would be a fix:
    Code CSS:
    a.menu {
    	display:block;
    	border:3px solid #005ba6;
    }
    Happy ADD/ADHD with Asperger's


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •