Forum Moderators: not2easy

Message Too Old, No Replies

images and backgrounds

         

gady

4:24 pm on Feb 24, 2004 (gmt 0)

10+ Year Member



I am a newbie to CSS and have a few questions.. 1) If I want the same image (logo) and background on each page can this be done through the external style sheet? 2) I notice that like in Nicks crash course he gives "typed out" code, some programs use wizards where you click onto say h1 and it gives options to change the settings. The question is does it matter which way to do it?

Thanks for the help

Gady

BlobFisk

4:34 pm on Feb 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, gady!

1. Yes! The background can be achieved by applying a backgound [w3.org] to the body tag, eg:


body {
background-image: url(path/to/image.gif);
}

The logo can be achieved by using a div on every page and again using the background property.

2. The use of CSS wizards or hand coding is a personal decision, but I would recommend hand coding. That way you can keep your CSS trim and clean, and it gives you a good understanding of the language - so if anything goes wrong, you understand the code and can identify and fix the problem.

HTH

gady

4:52 pm on Feb 24, 2004 (gmt 0)

10+ Year Member



Blobfisk, Thanks for the help, I just did a quick look at w3schools at saw a few of the things that I am looking for. I think for the short term I will use the wizard, and then move into hand coding as I get more familiar with css.

Thanks again for the help!

Gady