help with background

Discussion in 'Web Design & Programming' started by blade, Oct 9, 2006.

  1. blade

    blade GEEK 2.0

    Likes Received:
    0
    Trophy Points:
    0
    whats the HTML code for putting a background image.
    I know bgcolor="xxxxxx" is to have a colored background
     
  2. blade

    blade GEEK 2.0

    Likes Received:
    0
    Trophy Points:
    0
    Need html code for background image

    Nvmd, I found the option to do that in Dreamweaver MX 2004.
    But, the image repeats itself, how can I get it not to do that
     
  3. Karanislove

    Karanislove It's D Grav80 Of Luv

    Likes Received:
    0
    Trophy Points:
    36
    Need html code for background image

    I m not exactly sure but I think u need to have both things ...Ur webpage and BG Image sige to the same size Otherwise if you wants to allign image at the centre then u needs to write codes for it which I dont know..:p
     
  4. blade

    blade GEEK 2.0

    Likes Received:
    0
    Trophy Points:
    0
    Need html code for background image

    how do i get a background image over a background image
    i dont want to use css because its only for part of the area, and not the whole page
     
  5. Crusha19

    Crusha19 Aspiring Poker Player

    Likes Received:
    1
    Trophy Points:
    18
    Need html code for background image

    just use CSS it is really easy. say you want to have a different background for anything

    put this in the CSS file :

    idname {background-image: url('image.jpg')}

    then put this in the code (we will use <ul> as an example):

    <ul id="idname">

    this will make the list have a different background from the rest of the page
     
  6. SexiMexi9018

    SexiMexi9018 Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Need html code for background image

    you could also make a table and instead of having cell's make one big cell with an image. So do the normal <body background="XXXXX"> then make a table and do the same thing but just in the table tag
    <table background="XXXXXXX">
     

Share This Page