need some design help for photoshop and dreamweaver

Discussion in 'HTML & Website Design' started by makingfastcash22, Jan 23, 2009.

  1. #1
    I designed a layout in PS cs4 at 800 x 600, I want to not have any of the dreamweaver background showing. Is there some code that you include in the html to resize the images to whichever the users display is set to?

    Or some way to make the images stretch to the proper size.

    I am not sure how this is normally done. I appreciate any help on this matter.

    Thanks
     
    makingfastcash22, Jan 23, 2009 IP
  2. stevejoseph

    stevejoseph Member

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    This is normally done by setting your width parameter as a percentage. Is this what you mean? If not can you give me a more specific example.
     
    stevejoseph, Jan 24, 2009 IP
  3. stevejoseph

    stevejoseph Member

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Another method is to set the background color in the body or body class so that it matches the main region of your webpage. This creates a 'seamless' border.
    Does this help?
     
    stevejoseph, Jan 24, 2009 IP
  4. jediskywalker

    jediskywalker Peon

    Messages:
    122
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if you want the background no repeat, actual 800x600 size and center aligned then use this css code.
    body {
    background:url(images/6.png) no-repeat;
    background-attachment:fixed;
    background-position:center;
    background-color: #000000;
    }

    hope the problem solved otherwise tell me details
     
    jediskywalker, Jan 24, 2009 IP