How to make slices background images?

Discussion in 'HTML & Website Design' started by Whitey, Nov 26, 2007.

  1. #1
    Ive been googling for a long time but cant find it anywhere. I just exported my first template and I need to set some of the images as "background" images so I can write on them and use them with PHP.

    Can anyone tell me how to do this? Cheers.:D
     
    Whitey, Nov 26, 2007 IP
  2. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Noone knows? :(
     
    Whitey, Nov 27, 2007 IP
  3. mz906

    mz906 Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    we don't really understand your question, creating a background image isn't very trival just add something like this:

    background: url(your-image.gif);

    check w3c schools for syntax thats a good start
     
    mz906, Nov 27, 2007 IP
  4. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #4
    Yeah, you can't it automatically with slices :p
     
    blueparukia, Nov 27, 2007 IP
  5. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Yeah, I didn think I explained it very well :p

    Basicaly, in Photoshop when you have a slice of an image for the main body of your site and you want to put text on it, you import it into dreamweaver and put something like

    <img src="images/body.gif" background="1"</a>

    That was just off to top of my head. But anyway it allows you to write text on it and put tables over the top without Dreamweaver being an ass and moving it... xD
     
    Whitey, Nov 27, 2007 IP