www.webdeveloper.com
Results 1 to 2 of 2

Thread: Can someone simplify my css code

  1. #1
    Join Date
    Oct 2008
    Posts
    6

    Can someone simplify my css code

    Basically my css code is really long winded and is not always working in ie.

    Thanks in advanced.

    Code:
    #navigation {
    	height: 50px;
    	background: #303136;
    }
    
    #navigation ul {
    	margin: 0px;
    	padding: 0 0 0 20px;
    	list-style: none;
    }
    
    #navigation li {
    	display: inline;
    }
    
    #navigation a {
    	display: block;
    	float: left;
    	border: none;
    	background: no-repeat left 55%;
    	padding: 14px 36px 10px 30px;
    	text-decoration: none;
    	color: #FFFFFF;
    }
    
    #navigation a:hover {
    	color: #FFF;
    	background:#1776b8 url(../images/navigation_arrow.gif) no-repeat right;
    }
    
    #navigation-link {
    	float:left;
    	height:30px;
    	color:#FFFFFF;
    	font-weight:bold;
    	font-size:13px;
    }
    
    #navigation-link a {
    	color:#FFFFFF;
    	text-decoration:none;
    	display:block;
    	height:100%;
    }

  2. #2
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,207

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles