IE ignoring background image
am 25.05.2007 14:20:38 von Alf C Stockton
I have the following line coded into my style.css
body {font-family: verdana,arial,helvetica,sans-serif; background-color:
#b4d9fb; background-image: url("../images/background.png");
background-repeat: no-repeat; background-position: top center}
and IE7 is not displaying the background image.
I have also tried the URL("http://localhost/Events/background.png") but
it still fails.
Please tell me how I should fix this.
--
Regards,
Alf Stockton www.stockton.co.za
If one cannot enjoy reading a book over and over again, there is no use
in reading it at all.
-- Oscar Wilde
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: IE ignoring background image
am 25.05.2007 15:19:46 von Bill Bolte
Your 2 paths are different. Which is the correct path?
"/events/background.png" or "/images/background.png"? Once you solve
that, you'll probably see why the image isn't showing in either place.
-----Original Message-----
From: Alf Stockton [mailto:alf@stockton.co.za]=20
Sent: Friday, May 25, 2007 7:21 AM
To: php windows
Subject: [PHP-WIN] IE ignoring background image
I have the following line coded into my style.css
body {font-family: verdana,arial,helvetica,sans-serif; background-color:
#b4d9fb; background-image: url("../images/background.png");=20
background-repeat: no-repeat; background-position: top center}
and IE7 is not displaying the background image.
I have also tried the URL("http://localhost/Events/background.png") but=20
it still fails.
Please tell me how I should fix this.
--=20
Regards,
Alf Stockton www.stockton.co.za
If one cannot enjoy reading a book over and over again, there is no use
in reading it at all.
-- Oscar Wilde
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: IE ignoring background image
am 25.05.2007 17:31:55 von Niel Archer
Alf,
this is NOT a PHP question. Please stop asking questions that are so
obviously off-topic on this list. There are plenty of resources on the
web for this kind of problem.
http://www.blooberry.com/indexdot/css/syntax/unit/url.htm
Niel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php