Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    is it possible to set the background image to repeat for a fixed length. i have a shadow image which i wish to stop about 600px down the page.

    the code i have is

    Code:
    body { margin : 0;
                         padding : 0;
                         background : #fff url ('shadow-image.gif') repeat-y
                       }
    anyone know a fix?

  2.  

  3. #2
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    Code:
    body {
      margin : 0;
      padding : 0;
      background : url(shadow-image.gif) #fff repeat-y fixed 0 600px;
    }
    fixed and 600px should do it I think
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  4. #3
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    that didn't work. i've been playing about with the code and still can't get it to work. have opted tochage my design idea as i thought that it probably wouldn't look the best.

    sorry to have wasted your time

  5. #4
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    I just re-read your post and my previous post totally didn't make sense probably wasnt' awake yet

    What you should do is create a 1x600px image. Then you could do

    Code:
    body {
      margin : 0;
      padding : 0;
      background : url(shadow-image.gif) #fff repeat-y left top;
    }
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  6. #5
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    cheers, decided on a different layout but thats 1 to remenber for the future :classic:

    cheers

  7. #6
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    No problem! Sorry I couldn't wake up earlier :laugh:
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:08 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com