1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Web Design Having trouble with header

Discussion in 'Web Design' started by TXAGGIES, Dec 29, 2006.

  1. TXAGGIES

    TXAGGIES New Member

  2. logtmedia

    logtmedia New Member

    viewing the style sheet, it has the header.jpg in a folder named images.
    You must create a folder named images and place the header image in the folder, it will then be found and displayed.
    be sure to keep the image name as header_bg.jpg or you will have to change the name of the image on the style sheet.
    Or you could simply place the header image with all other images and change the style sheet accordingly.
     
  3. TXAGGIES

    TXAGGIES New Member

    Image is on the server,style sheet and it is in the image file. It looks fine on Front Page but when I upload it to the server it isn't showing. I don't see anywhere on the Html where it says header_bg.jpg.
     
  4. logtmedia

    logtmedia New Member

    According to your style sheet the header image is in a folder named images.

    }
    BODY {
    BACKGROUND: url(images/header_bg.jpg) repeat-x; TEXT-ALIGN: center
    }

    if you make the following changes to your style sheet you should be fine:

    }
    BODY {
    BACKGROUND: url(header_bg.jpg) repeat-x; TEXT-ALIGN: center
    }
     
  5. logtmedia

    logtmedia New Member

  6. lmfrench

    lmfrench New Member


    In your FrontPage open up your CSS file that came with the template and make sure that you have the full url to your images in the CSS...for example where your header_bg.jpg is, make sure that it says images/header_bg.jpg...or if that still causes a problem as FrontPage does tend to assume too much actually put the full url in there such as http://www.yoursite.com/images/header_bg.jpg just be sure to set the images in your css properly...

    Now the problem seems to be that you have the images floating around, and not in an images folder...so if you do not want to move all of the pictures to a folder called 'images' then you could actually just go in and re-direct the pictures in your frontpage program to http://www.yoursite.com/header_bg.jpg but be sure to do that with EVERY picture in both the HTML and the CSS!

    Hope that helps. Thanks
     
  7. TXAGGIES

    TXAGGIES New Member

    Got it to work. Thank you very much for the help. They were just saved under another extension.