Forum Moderators: not2easy
However, the background-image is hanging me up:
body {background-image: url(images/sky.jpg); font-family: Verdana; font-size: 12pt; }
I've tried:
url("images/sky.jpg")
url('images/sky.jpg')
url(images/sky.jpg)
url(http://www.mydomain/images/sky.jpg)
etc. - same url with/without " and '
I can't for the life of me figure out how to get the background image to show.
I've programmed many CSS files before, and I tried it the same way I did before, but it still didn't work.
Any ideas?
your codes look fine, but I would use the ones without the quotes " or ', they're not required and cause some older browsers to choke, maybe not such a big deal these days, but still prefer it ;)
Are you aware that background images are called relative to the stylesheet itself and not necessarily in relation to the page. The absolute url should work (if you're online and the image is in a folder called images on your server) but other wise make sure the relative path is relative to the stylesheet.
Frontpage may do something different, but it shouldn't! Another way is to make sure that all images that are called from the CSS file actually reside in the same folder as the external CSS file, that way you don't have to remember to use a folder name at all in your css.. and it keeps everything to do with styling in the same place.
Don't know if that's any help..
Suzy
I've been having problems using FP. Maybe it's time I look at Dreamweaver...?