Results 1 to 2 of 2

Thread: Logo not showing!

  1. #1
    Join Date
    Dec 2010
    Posts
    7

    Question Logo not showing!

    I'm trying to put my website's logo (logo.jpg) on top of the green banner but nothing is showing. www.beforeicroak.com Here is the CSS stylesheet code for the banner:

    /* HEADER */
    #header {
    margin-bottom:0px;
    height:173px;
    background: url(images/header-bg.gif) repeat-x;
    }

    #header h1 {
    font: 48px "Georgia";
    color:#e4e4e4;
    padding:0;
    margin:0;
    overflow:hidden;
    }

    #header h1 a {
    color:#d4d4d4;
    text-decoration:none;
    }

    #logo {
    margin:0;
    padding:0;
    height:127px;
    }

    #logo h1 {
    padding:17px 0px 10px 20px;
    }

    #logo h1{
    text-indent:-10000px;
    }

    #logo h1 a {
    display:block;
    background: url(images/logo.jpg) bottom left no-repeat;
    outline:none;
    }

    #logo .description {
    color:#828fa3;
    padding-left:20px;
    font-size:14px;
    text-transform:uppercase;
    font-weight:bold;
    }

    #sf-menu {
    margin:0;
    height:33px;
    padding-top:10px;
    }

    #sf {
    padding:0;
    margin:0;
    }

    #menu {
    padding:0;
    margin:0;
    height:33px;
    padding-left:20px;
    width:610px;
    }

    #menu ul {
    clear: both;
    font-size:12px;
    text-transform:uppercase;
    padding:0;
    margin:0;
    }

    #menu ul li {
    float: left;
    display: block;
    margin:0;
    padding:0;
    }

    #menu ul li a {
    padding: 10px 30px;
    margin:0;
    float: left;
    font-size:12px;
    color: #d2d2d2;
    text-decoration: none;
    line-height:25px;
    font: 12px Arial;
    margin-right:5px;
    background:#363636;
    }

    #menu ul li a.active {
    background:#fff;
    border-bottom:1px solid #fff;
    color:#444;
    font-weight:bold;
    }

    #menu ul li a.active:hover {
    color:#444;
    }

    #header ul li a:hover {
    color:#fff;
    }

    #searchform {
    padding-top:2px;
    }

    #searchform #s {
    width:198px;
    color:#000;
    background: #696969;
    border:1px solid #9e9e9e;
    }

    #header-ads {
    color:#fff;
    margin:0;
    padding:10px;
    height:75px;
    padding-top:35px;
    }
    /* END HEADER */

  2. #2
    Join Date
    Jun 2007
    Posts
    295
    since the <a> is an inline element, and you have no content in it, there is no width and height. You need to assign a width and height to it (the same width and height of your background image):

    Code:
    height: 127px;
    width: 512px;

Similar Threads

  1. Design showing
    By dotemacs in forum Freelancing
    Replies: 0
    Last Post: 29 Sep 2010, 07:27 AM
  2. My posts are not showing up.
    By BossChase in forum WDF Suggestions
    Replies: 1
    Last Post: 29 Aug 2009, 07:25 AM
  3. Logo image not showing
    By neosglobal in forum General Questions
    Replies: 1
    Last Post: 09 Sep 2006, 02:55 AM

Posting Permissions

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