background image cut off

Discussion in 'General Programming Chat' started by halifax123, Apr 30, 2009.

  1. halifax123

    halifax123 Power Member

    Joined:
    Aug 5, 2008
    Messages:
    594
    Likes Received:
    66
    Location:
    uranus
    I couldn't find a better place this post so please forgive me if i'll placed

    using an index page I'm displaying essentially a landing page and I'm using a jpg to do it. So I do a general html index page and
    HTML:
    <html>
    <head>
    
    <style type="text/css">
    body
    { 
    background-image: url('screenshot.jpg');
    background-repeat: repeat-y
    }
    </style>
    
    </head>
    
    <body>
    </body>
    </html>
    sorry about the weird colors I didn't do that! anyway, the "screenshot" jpeg is about 1024 X 900 but when I upload to my host, the pic is cut off, as it only displays within the screen display, and cuts off anything below the viewable screen....any idea on how I can correct the prob?



    thanks guys!
     
  2. halifax123

    halifax123 Power Member

    Joined:
    Aug 5, 2008
    Messages:
    594
    Likes Received:
    66
    Location:
    uranus
    I managed to solve my problem by using "img src=http with the image location and it works !

    What I would like to be able to do, is to create links (not the whole page) but certain areas that I selection on the jpg image and make links directed to different areas on another site...example "home", "contact us" and so forth, (just a handful, not a tremendous amount)

    Is that something I can do with the basic index html jpg config as I have it?

    I can easily make the entire page, one big "href" clickable link since it is just one big jpeg image, but I have always felt that intelligent surfers can see this basic redirect of anything on a LP and it raises a big red flag for them(it does for me).....

    any suggestions?

    I have DW PS and some rudimentary html skills)