Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2000
    Location
    Raisio, Finland
    Posts
    1,341

    Default How can I repeat background horizontally only

    Usually when I design web pages and want for example a gradient tone at the top I repeat a gradient strip with background-repeat: repeat-x

    How can I achieve this without hacking the code outside XWD?
    Paul the Gnurfmeister!
    Home: http://www.gnurf.net/v3/ | My stuff for sale: http://www.zazzle.com/gnurf* | Follow me on Twitter: http://twitter.com/pasoderholm


    IP

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How can I repeat background horizontally only

    Make the gradient strip longer than your page and/or maximum possible vertical resolution of the user monitor.
    Alternatively you can hack the page from within the document using js in placeholder.
    John.
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,487

    Default Re: How can I repeat background horizontally only

    I have done this in the past in NetObjects by creating a thin rectangle that is longer than any page I plan to create. The using the rectangle for the background. The image repeats for the width of the page.
    IP

  4. #4

    Default Re: How can I repeat background horizontally only

    IP

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •