I am having a issue

Discussion in 'Programming' started by Fancy Shoes, Mar 17, 2013.

to remove all ads.
  1. Fancy Shoes

    Fancy Shoes New Member

    Messages:
    7
    When I try to upload a background image into my header location it fails to load, however with the code in the background section the image will load.

    I put the text in bold that I am having issues with.
    I am using dreamweaver cs6

    Thanks for any help.

    @charset "utf-8";
    /* CSS Document */

    /*########################*/
    /* General HTML TAG Rules */
    /*########################*/

    BODY {
    Background-image:url(Images/Background-body.jpg);
    Background-repeat:repeat-x;
    background-color:#4d4d4c;
    background-attachment:fixed;
    background-position:top;




    H1, H2, H3, H4, H5, H6, H7 ,H8, H9{

    }

    p {

    }

    a {

    }

    a:hover {

    }

    hr {

    }

    /*##############################*/
    /* General Template Class Rules */
    /*##############################*/

    .WrapOverall {



    }
    .Title {

    }
    .Header {
    background-image:url(Images/Header_Background_transparent.png);
    background-repeat:no-repeat;
    background-position:top center;



    }

    .Footer {



    }
    .Content {

    }

    /*##########################*/
    /* General Navigation Rules */
    /*##########################*/

    .NavMain ul {

    }
    .NavMain ul li {

    }
    .NavMain ul li a {

    }
    .NavMain ul Li a:hover {

    }
    .footer ul {

    }
    .footer ul li {

    }
    .footer ul li a {

    }
    .footer ul Li a:hover {

    }

    /*####################*/
    /* General list Rules */
    /*####################*/
     
  2. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    whats the go with h7-h9?
     
  3. Edge

    Edge Member

    Messages:
    461
    I know what the problem is - there's no HTML.
    Just kidding - can you post HTML too.
     
  4. Fancy Shoes

    Fancy Shoes New Member

    Messages:
    7
    <title>Scottabedoneright.com</title>
    <link rel="stylesheet" type="text/css" href="another default.css"/>

    </head>

    <body>

    <div class="WrapOverall">

    <div class="Title"></div>
    <h1>Scotty B's</h1>
    <div class="header">

    <div class="NavMain">

    <ul>
    <li>a href="#">Home</a></li>
    <li>a href="#">Heating</a></li>
    <li>a href="#">Cooling</a></li>
    <li>a href="#">Electrical</a></li>
    <li>a href="#">Products</a></li>
    </ul>

    </div><!-- END NavMain-->

    </div><!-- END Header-->

    <div class="footer">

    <div class="NavFooter">

    <ul>
    <li>a href="#">Home</a></li>
    <li>a href="#">About</a></li>
    <li>a href="#">Contact</a></li>
    <li>a href="#">Links</a></li>

    </ul>

    </div><!-- END NavFooter-->

    </div><!-- END Footer-->

    <div class="Content"></div>

    </div><!-- END WrapOverall-->

    </body>
    </html>
     
  5. Edge

    Edge Member

    Messages:
    461
    .header not .Header
     
  6. Fancy Shoes

    Fancy Shoes New Member

    Messages:
    7
    What the hell! Seriously!

    Thanks man, that definitely fixed the issue. I was "told" caps didn't matter. I guess you know the rest.
     
  7. Phreaddee

    Phreaddee Super Moderator Staff Member

    Messages:
    1,978
    caps certainly make a difference.

    thats why for me it's lowercase at all times.
     
  8. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,639
    Property and attribute names AREcase sensitive, depending on DTD whereas values are not.

    http://www.w3.org/TR/CSS21/syndata.html#characters
     
  9. Edge

    Edge Member

    Messages:
    461
    I'm bald - I use caps quite a lot.
     

Share This Page