RE: [PHP-WIN] IE ignoring background image
| From: | Bill Bolte | Date: | Fri, 25 May 2007 13:19:46 +0000 |
| Subject: | RE: [PHP-WIN] IE ignoring background image | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27973@lists.php.net to get a copy of this message | ||
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]
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");
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