Help a newbie. I cant change my background - omfg

Discussion in 'Programming' started by nikolaalx, Mar 23, 2007.

  1. #1
    Hey all,
    I am having problems changing my background of my site.

    I have been trying to do anything but it keeps just staying blank.

    The story is pretty simple. I have this site dogeto.com and I have managed to customize the index page.

    However for the rest of the site, I need to edit the template.php file.

    I have inserted

    <style type="text/css">
    <!--
    body {
    background-image: url(images/bg_blue.png);
    }
    -->
    </style>

    the same way as with the index.php but nothing happens!

    Can someone pls tell me why this is happening? Big reps to the person who helps me :)

    Cheers,
    Nik
     
    nikolaalx, Mar 23, 2007 IP
  2. Cypherus

    Cypherus Peon

    Messages:
    1,551
    Likes Received:
    102
    Best Answers:
    0
    Trophy Points:
    0
    #2
    first of all, <!-- comment --> is the tags for inserting comments.

    Second, you can use background: #color url('http://url.to.picture'); for the background
     
    Cypherus, Mar 23, 2007 IP
    nikolaalx likes this.
  3. vagrant

    vagrant Peon

    Messages:
    2,284
    Likes Received:
    181
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you have background in your linked css
    as well css/bg_hook.jpg
    try changing that to the one you want
     
    vagrant, Mar 23, 2007 IP
    nikolaalx likes this.
  4. nikolaalx

    nikolaalx Well-Known Member

    Messages:
    996
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    100
    #4
    I tried and its not working either.

    go to http://www.dogeto.com/game/21591/Zynex-Demo-2.html for example and see how this is in the code, but its still black.


    bg_hook.jpg has nothing to do with the background. This is the green bar on the homepage above the menu.

    And as for the style.css there is nothing defining the background of the page. This is the content of the style.css


    a.c_style {
    font-size:8pt;
    }
    a.c_style:hover {font-weight: bold;}

    input.submit {
    border: 1px solid #000000; padding-left: 2; padding-right: 2; padding-top: 1; padding-bottom: 1;height:20;background-color:#FFFFFF;
    }

    input.tf {
    border: 1px solid #000000;
    }

    .bgimage {
    background: url(css/bg_hook.jpg);
     
    nikolaalx, Mar 23, 2007 IP