- Joined
- Apr 11, 2005
- Messages
- 1,048
- Reaction score
- 9
G'day guys,
What I'm trying to do (if it's possible), is to specify a particular region of an image file to use as the background for a DIV or possibly a table cell, or another way that might work is to have the background offset by a particular number of pixels top and left, which would produce the same result...
So an image like this:
used to texture a table cell or similar element like this:
Is it possible? I've tried to research how to do it in a table cell or with css but no luck so far... I know it'd be easy if I just knew how :grin:
What I'm trying to do (if it's possible), is to specify a particular region of an image file to use as the background for a DIV or possibly a table cell, or another way that might work is to have the background offset by a particular number of pixels top and left, which would produce the same result...
So an image like this:
![DaRcAntiX - [HTML/CSS] How to use a specified region of an image file as background? - RaGEZONE Forums DaRcAntiX - [HTML/CSS] How to use a specified region of an image file as background? - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
used to texture a table cell or similar element like this:
![DaRcAntiX - [HTML/CSS] How to use a specified region of an image file as background? - RaGEZONE Forums DaRcAntiX - [HTML/CSS] How to use a specified region of an image file as background? - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
Is it possible? I've tried to research how to do it in a table cell or with css but no luck so far... I know it'd be easy if I just knew how :grin: