Trying to ad my websites background image

Discussion in 'Digital Marketing' started by Dunn's, Mar 4, 2009.

  1. Dunn's

    Dunn's LawnSite Bronze Member
    Messages: 1,534

    When I ad the header and background to my site it shrinks it when using yahoo sitebuilder, But when I open the file in adobe photoshop it says it is 1,040 pixels wide even though my site is only1,026 pixels wide it still comes out smaller when I paste the image in and then I have to stretch it which causes some slight distortion.

    Anyone have any ideas on what I can do to fix it?

  2. ECS

    ECS LawnSite Bronze Member
    Messages: 1,733

    Take a look at your coding for the webpage. It should look something like what I have below.

    It will be near the top of the page, under the tags for head. There will be 2 tags for head, one withing thses brackets < > and another one withing the same brakets with a / before the word head.

    < body background=" the adress of the picture to go in here " bgproperties= "fixed" text= "#008080" link= "#800080" vlink= "#ae00ae" alink= "#c0c0c0" >

    Where this say bg properties = fixed allows it to stay stationary so when you scroll the page, the background stay right where it is at all times. You may have to add the dimensions of the picture for it to be the size you want. height = " pixels height here " width = "1026" which can be placed after where it says bgproperties=fixed
    Last edited: Mar 4, 2009
  3. Kiril

    Kiril LawnSite Fanatic
    Messages: 18,334

Share This Page