Help want to change background

Discussion in 'HTML & Website Design' started by rajivv, Mar 27, 2009.

  1. #1
    Hi,

    Just got some sample pages done homeideaz.com
    Want the background ( the green and black) changed on the index page
    How do I do this.
    Only html is not a problem but this has css etc.
    What to do how do i go about this.
    Please it seems easy but how to.

    Regards
    Rajiv
     
    rajivv, Mar 27, 2009 IP
  2. monfis

    monfis Well-Known Member

    Messages:
    1,476
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #2
    You can change it in your file: css/style.css

    Your file's first lines - change the red marked parameters.

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

    body{ margin:0px;
    /*background-image:url(../images/background.jpg);*/
    background-color:#003333;
    }
     
    monfis, Mar 27, 2009 IP
  3. qazu

    qazu Well-Known Member

    Messages:
    1,834
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Do you want the background to be changed on the Index page only? If yes, then place an internal css sheet in your <head> tag somewhere below <link href="style.css" type="text/css" rel="StyleSheet" />.

    An internal style sheet will only be applied to the page it appears on and is enclosed in a <style type=“text/css”></style> tag. Then put the CSS for the background in there like:
    <style type=“text/css”>
    body {background propery: value}
    </style>
     
    qazu, Mar 27, 2009 IP
  4. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    How do I change the black on the main index page to something else thats all.
    Please assist.

    Rajiv
     
    rajivv, Mar 27, 2009 IP
  5. andy10k

    andy10k Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Can you post your css file so people can have a look please?
     
    andy10k, Mar 27, 2009 IP
  6. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    rajivv, Mar 27, 2009 IP
  7. andy10k

    andy10k Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You have a table in your index file, and there is a background colour set as part of that.

    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#003333">

    Either change the bgcolor here, or better still, transfer your table settings to your css file and take the style markup out of your html file.
    Ive tested changing that colour and it is the page background, and not the background of the center part of the page where your content is. I hope thats the right one.
     
    andy10k, Mar 27, 2009 IP
  8. mrpaisa

    mrpaisa Guest

    Messages:
    741
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I want to change my background to black color with fonts in red to match with my header photo...i m assuming that going black with the background will be better for any header photo, i might come out with in the future....
     
    mrpaisa, Jan 19, 2010 IP
  9. johagulo

    johagulo Peon

    Messages:
    879
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks for the tips guys
     
    johagulo, Jan 19, 2010 IP