Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6229567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:35:29+00:00 2026-05-24T09:35:29+00:00

Consider the following image: This is supposed to look like a patch of grass

  • 0

Consider the following image:

grass with deckle edge

This is supposed to look like a patch of grass with rough (deckled) edges. It’s a 200×200 pixel png image, with transparency at the edges to give a natural look.

The problem is, I’m trying to design a web page where I want various elements of all different sizes to have this background, but I can’t use a simple css background property, because repeating an image like this doesn’t work: the transparency on the left, for instance, in plainly visible as a seam between each copy of the image. But if I simply stretch the image to fit, it doesn’t look very good either.

Is there any (cross browser) way to accomplish this? jQuery solutions are acceptable as well. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:35:30+00:00Added an answer on May 24, 2026 at 9:35 am

    A jQuery solution:

    http://code.google.com/p/scale9grid/


    border-image is the pure CSS solution:

    • http://www.w3.org/TR/css3-background/#border-images
    • https://developer.mozilla.org/en/CSS/-moz-border-image

    Unfortunately, the browser support is not yet good enough: http://caniuse.com/border-image

    A generator: http://border-image.com/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider the following image: How would I get the average (unknown what this is
Consider the following CSS: .my_class { background-image: url(/images/sprites.png); } Sometimes I change sprites.png by
Consider the following image at: http://znood.com/images/801/130x130.jpg I have a controller rendering this image and
Consider the following mock-up image I've created: I am new with working with InfoPath
Consider the following directory structure: ROOT ------ images ............... logo.png ------ includes ............... vars.php
Consider the following : $img_pathm = JURI::root().'images/properties/images/'.$this->datos->id.'/'; $peque_path = JURI::root().'images/properties/images/thumbs/'.$this->datos->id.'/'; $result = count($this->Images); $resultf
consider following: 1st APPROACH: public void f3() { f2(); f1(); } and this ...
Consider the following image: My app first finds all the blue pixels and also
Consider the following xhtml: <img src=myImage.jpg alt=My image /> <br /> <hr /> I
Consider I have an image of the following type, how can I identify the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.