View Full Version : CSS and background image
harv
08-11-2001, 09:09/09:09AM
I am using this statement in CSS
==>> background-image: url("back.jpg");
I obtained the background image from
another site, I don't know how to
create one from scratch.
Any advice please
Advisor
08-11-2001, 09:29/09:29AM
You should simply email the other site and ask if they mind if you use their background image (before you actually use it). Most likely they will allow it. If not, then find a new one. There are tons and tons of free backgrounds and other images available for download.
Jill
harv
08-11-2001, 09:35/09:35AM
Jill,
Sorry I did not explain this clearly.
It's simply a colour in a one inch square.
All I'm looking for is to set up a plain colour
background like this.
Harvey
Advisor
08-11-2001, 09:52/09:52AM
Oh, well you don't need to use a graphic then. You can simply set the background color to a table cell.
Something like:
<TD background="#FFFFFF"></TD> (Which would be white).
You may want an image though, come to think of it, because if you don't have text in the cell then it won't work.
In that case, just go to any graphic program and create the .jpg that you want, the size and color you want and save it. Then put it into your html code where you want it. I can't really explain in detail how to do all this, as it's basic web site design. You might go to a design tutorial site that explains it all. My daughter likes the "Lissa Explains" site because it is easy to understand and has all the basics. You can find it here: http://www.lissaexplains.com/
Jill
MsSearch
08-11-2001, 12:07/12:07PM
if it's just a solid color background...wouldn't a 'save as'...work (save the background image)?
??? I don't do much web design...but have wondered this myself...of course I would never steal and image but if it's a solid color....would that work?
harv
08-11-2001, 12:28/12:28PM
I've managed to steer clear of graphics programs for
the last few years. I'm sure that what I need to
so would just take a few seconds but I wanted
to avoid the overhead of learning a new piece of
software.
I know there are simple free programs which let you
mix colours and generate a Hex code, I just
wonder if there is something similar to
produce a jpg file.
highman
08-11-2001, 12:30/12:30PM
do view source on the page and copy the location of the background i.e. images/bground.gif (or whatever, and while youre there copy the piece of html that calls the image in) then paste this location on to the end of the website url, you will now get the image on the screen, right click and save image
Now put the image in your images folder and use the same code as the other website used to call it in
Not that Ive EVER done this of course, I just overheard someone talking about it ;)
or contact me with the URL
harv
08-11-2001, 12:42/12:42PM
Hello Highman,
I know how to incorporate an EXISTING jpg file
(which I found at another site).
I just want to be able to create a NEW one
with the colour I require
Blue
08-11-2001, 12:54/12:54PM
Hi Harv,
Even though you're loathe to try new graphics software, please allow me to make this recomendation.
If you go to the Jasc site (http://www.jasc.com/download_4.asp?), they have an excellent little freebie called Paint Shop Pro version 3.12 that is around 2MB's to download.
This was an old standby of mine before I took the jump to more professional graphics programs many years ago. It is fairly easy and intuitive, and will allow you to create a simple .jpg or .gif for use on the internet. It should do just perfect for what you need to accomplish. You'll be able to pick any color you wish, though I recommend only using the "web-safe" pallette of 216 colors found here (http://www.lynda.com/hexv.html) (these will render the same on ANY browser).
It was designed for windows 3.1 but works fine on 95 and up as well.
harv
08-11-2001, 14:08/02:08PM
Thanks Blue,
I'll try it out.
JuniorHarris
09-11-2001, 08:22/08:22AM
Great suggestion Blue. I've used that one before and it is quite easy to use, especially for those simple tasks. If you have a Microsoft FrontPage CD, you could install Image Composer. It's a little more complex but it will get you introduced to a few more graphic features.
vBulletin® v3.8.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.