www.webdeveloper.com
Results 1 to 3 of 3

Thread: bg img

  1. #1
    Join Date
    Jul 2003
    Location
    UK
    Posts
    441

    bg img

    i am tring to add a background to my navigation.

    it is in a UL then IL list.

    CSS

    PHP Code:
    #tabs{
        
    margin:auto;
        
    width:683px;
        
    background-image:url(nav.png);
    }

    #tabs li{
        
    display:inline;
        list-
    style-typenone;
    }
        
    #tabs a:link, #tabs a:visited{
        
    floatleft;
        
    font-size0.70em;
        
    font-family:ArialHelveticasans-serif;
        
    line-height20px;
        
    font-weightbold;
        
    margin:0px 10px 4px 10px;
        
    text-decorationnone;
        
    color#FCECF8;
    }

    #tabs a:hover{
        
    color#FCECF8;
    }

    #tabs a.active:link, #tabs a.active:visited, #tabs a:hover{
        
    border-bottom3px solid #fff;
        
    color#FCECF8;

    Code:
    <div id="tabs">
    <ul>
    	<li><a href="#">1</a></li>
    	<li><a href="#">2</a></li>
    	<li><a href="#">3</a></li>
    	<li><a href="#">4</a></li>
    	<li><a href="#" class="active">5</a></li>
    	<li><a href="#">6</a></li>
    </ul>
    	<span id="date"><?php echo date("l, jS F Y");?></span>
    </div>
    it works in IE but not NS or FB

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715

    Question

    I don't know whether it's a bug or not but the background image appears if you add a border to #tabs.

  3. #3
    Join Date
    Jul 2003
    Location
    UK
    Posts
    441
    no, still not in FB

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