+ Reply to Thread
Results 1 to 6 of 6

Thread: how do u change background color??/

  1. #1
    Not_My_Problem is offline x10Hosting Member Not_My_Problem is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    1

    how do u change background color??/

    how do u change background color??/

  2. #2
    masshuu's Avatar
    masshuu is online now Head of the Geese masshuu has a spectacular aura about
    Join Date
    Oct 2007
    Location
    Las Colinas, Tx
    Posts
    2,262

    Re: how do u change background color??/

    you can use
    <body bgcolor="(Color name)">
    <body bgcolor="#(Color hex)">

    or a css file:
    body { background-colorColor name); }
    body { background-color:#(Color hex); }
    Last edited by masshuu; 12-31-2007 at 06:07 PM.
    Just leading the flock.
    Livewire
    Masshuu ------ carl6969
    descalzo ------------------- Smith6612
    Bryon--------------------------------- Corey
    If you find any post helpful or useful, duck
    \ / This for that post and rep it up.

  3. #3
    naim4u's Avatar
    naim4u is offline x10Hosting Member naim4u is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    51

    Re: how do u change background color??/

    background colour starts with the "body" tag in html.

    you can use as like the following.
    <body bgcolor="red">
    or you can also use background images like the below script.

    <body background="flag.jpg">
    in the above script: the picture flag.jpg sould be within the same folder of this html file. if not use as below.
    <body background="c:/my doucuments/my folder/flag.jpg">
    please be carefull to denote the file extention.
    eg. if the pic. is a jpg or gif.
    you can see this by rightclicking and seeing the properties tab.
    ther see the phrase: "type of the file:"
    if it is "JPEG" then use ".jpg" extention. if gif,use :".gif"
    byeeeeeeeee
    best wishes.
    Last edited by naim4u; 01-15-2008 at 08:19 PM.

  4. #4
    coolv1994 is offline x10 Elder coolv1994 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    506

    Re: how do u change background color??/

    CSS
    • body { background-color:color name; }
    • body { background-color:#color hex; }
    • body { background-image:url(image.gif); }
    HTML
    • <body bgcolor="color name">
    • <body bgcolor="#color hex">
    • <body background="image.gif">
    Last edited by coolv1994; 01-15-2008 at 08:34 PM.

  5. #5
    Dra_chan's Avatar
    Dra_chan is offline x10Hosting Member Dra_chan is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    El Salvador
    Posts
    27

    Re: how do u change background color??/

    Note that you can also change the background color in tables, in case you decide to build your layout with tables.

    <table bgcolor="#color hex">

    You can also use different colors in each cell of the table, it will always be <td bgcolor="#color hex"> so you can have more than 1 background color in your webpage.

  6. #6
    Jober68 is offline x10Hosting Member Jober68 is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    62

    Re: how do u change background color??/

    you can also use a rgb color format for css:

    body {background-color: rgb(255,255,255);}

    If you want more info visit this link and at the bottom of the tutorial it links you to other tutorials that specifically tell you how to do certain CSS http://forums.x10hosting.com/tutoria...css-guide.html

+ Reply to Thread

Similar Threads

  1. 5 Ways to Change Password
    By manzoor in forum Tutorials
    Replies: 8
    Last Post: 12-04-2007, 02:26 PM
  2. How to change the color of the text ad? :)
    By liamar in forum Free Hosting
    Replies: 9
    Last Post: 09-29-2007, 04:06 PM
  3. What Banner Color?
    By nightscream in forum Graphics & Webdesign
    Replies: 7
    Last Post: 09-20-2006, 07:08 PM
  4. My web designe
    By dharmil in forum Graphics & Webdesign
    Replies: 7
    Last Post: 07-20-2006, 09:23 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
x10hosting free hosting for the masses
dedicated servers