Fixing background image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robyy456
    New Member
    • Sep 2010
    • 2

    Fixing background image

    Hi..i am using a software called webpage maker to build a site now here is my problem i selected an image for background (which i uploaded in phorobucket)..t he image is like below..





    i selected this as background image in software and after tiling in webpage maker the whole background looks like this...




    But when i preview this on browser it looks like this..



    now please tell how should i get a background as it is in webpagemaker..

    may be it is due to resolution issue tell me the required correction in html file to fix this..Thankyou
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    Having never used webpagemaker I couldn't tell you how to fix that within the program itself but the problem is the way your background is being set to repeat.

    In your CSS background-repeat should be set to repeat-y;

    Comment

    • robyy456
      New Member
      • Sep 2010
      • 2

      #3
      Thanks i set repeat-y..it works but some space in right hand side is like chopped off ..actually i want the image to cover the whole background by vertical repetitions and it should also be stretched to cover the x direction of the screen..i mean it should not be repeated in x direction it should be stretched in x direction..Than ks

      Comment

      • zorgi
        Recognized Expert Contributor
        • Mar 2008
        • 431

        #4
        You can not stretch background image using just CSS, but you could simply make your original image wider than any possible screen resolution.

        Comment

        Working...