Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-03-26, 09:15 AM   #1
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Repeating an image as background

I want to use a small image for a background and I know how to make it repeat but I want to have a space between the images across the page and then have the same spacing vertically for as long as the page is. How do I do that?
Licker4U is offline   Reply With Quote
Old 2007-03-26, 09:31 AM   #2
Jim
Banned
 
Jim's Avatar
 
Join Date: Aug 2003
Location: Mohawk, New York
Posts: 19,477
There must be an easier way...or not. But, why not put a border around the image and then use that as your background?
Jim is offline   Reply With Quote
Old 2007-03-26, 09:39 AM   #3
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
It's a small image, 120x60 and I want to have the page filled up with the images but not touching each other. Maybe 5 or 6 across the page with the same spacing between them vertically. I don't think a border will help with that.
Licker4U is offline   Reply With Quote
Old 2007-03-26, 02:15 PM   #4
Trev
Is it over already?
 
Trev's Avatar
 
Join Date: Sep 2003
Location: the beautiful shores of Lake Erie
Posts: 890
I believe Jim was saying, just make the image a little larger with a border the color that you want the background.

If there is a way to put padding on a background image via css, I've never heard of it.
__________________
Hey buddy... can you spare a sig?
Trev is offline   Reply With Quote
Old 2007-03-26, 04:27 PM   #5
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Oh! It just hit me! You mean like a white border that gives me the spacing I want! Duhhhhhh Licker4U
Licker4U is offline   Reply With Quote
Old 2007-03-27, 12:26 PM   #6
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Well, I'm stuck. If I'm using an image in <body background=whatever....how do I put a border around the image?
Licker4U is offline   Reply With Quote
Old 2007-03-27, 12:36 PM   #7
ponygirl
on vacation
 
ponygirl's Avatar
 
Join Date: Sep 2004
Posts: 2,095
Send a message via ICQ to ponygirl
Quote:
Originally Posted by Licker4U View Post
Well, I'm stuck. If I'm using an image in <body background=whatever....how do I put a border around the image?
Licker, if you have an image editing program, try adjusting the paper/canvas size of the image which will put an outline around the image. You should be able to make the background whatever color you want. Then save the new image as your background image.
ponygirl is offline   Reply With Quote
Old 2007-03-27, 01:34 PM   #8
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
Quote:
Originally Posted by ponygirl View Post
Licker, if you have an image editing program, try adjusting the paper/canvas size of the image which will put an outline around the image. You should be able to make the background whatever color you want. Then save the new image as your background image.
I have IrfanView, I'll take a look and see if I can do something with that, thanks.
Licker4U is offline   Reply With Quote
Old 2007-03-27, 03:23 PM   #9
Trev
Is it over already?
 
Trev's Avatar
 
Join Date: Sep 2003
Location: the beautiful shores of Lake Erie
Posts: 890
You can also make a new blank image the color you want the background and paste the old image into it. Either way should take less than a minute.

If you can't get it, just post a link to the image, the color you want the background/border, and how much blank space you want and I'll get it back to you. (I'll be here until 5-6pm then back later)
__________________
Hey buddy... can you spare a sig?
Trev is offline   Reply With Quote
Old 2007-04-03, 02:59 PM   #10
Surfn
If you don’t take a chance the Angels won’t dance
 
Surfn's Avatar
 
Join Date: Aug 2003
Location: Earth on occasion
Posts: 8,812
Send a message via ICQ to Surfn
Quote:
Originally Posted by Trev View Post
You can also make a new blank image the color you want the background and paste the old image into it. Either way should take less than a minute.
That's what I would do...
__________________

Surfn's Links Are you a partner?

Surfn is offline   Reply With Quote
Old 2007-04-03, 04:21 PM   #11
Licker4U
Mean people suck, nice people swallow, are you mean or nice?
 
Licker4U's Avatar
 
Join Date: Sep 2003
Location: Lower Alabama-The Redneck Riviera
Posts: 2,377
Send a message via ICQ to Licker4U Send a message via AIM to Licker4U
I finally got it with IrfanView. It has an option "Canvas Size" that lets you put in the amount of space around an image. Thanks to all for the suggestions.
Licker4U is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:09 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc