Images and CSS not displaying in browser output [message #79955] |
Fri, 12 September 2008 07:59 |
Eclipse User |
|
|
|
Originally posted by: shagy.someplace.com
Hi,
My Browser Output (tab) is not including my CSS file and my images are all
showing a Red X.
If I put the full path to my images; for example, <img
src="f:\web\images\theimage.jpg" />
it works, but if i put <img src="/images/theimage.jpg" /> it shows the red
x.
If I access the page directly from within firefox or IE the images and CSS
are displayed.
i'm using php 5 with pdt 1.0.3 on windows xp.
any help will be greatly appreciated.
Thanks.
|
|
|
Re: Images and CSS not displaying in browser output [message #79971 is a reply to message #79955] |
Fri, 12 September 2008 15:45 |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
Are you loading the page in the internal Eclipse browser as
file://path/to/file.php? Or http://localhost/path/to/file.php? Which one
works in your external browser?
And have you considered setting Eclipse to use a different browser for
previews?
Are you running some http server locally, eg., jetty, lighttpd, apache?
If not, you can't use http://localhost addresses, only file:// addresses.
(BTW, a new integration build of PDT 2.0 is out. If you're ready to move
up to Eclipse 3.4, I'd suggest trying the new PDT.)
Nick
Shagy wrote:
> Hi,
>
> My Browser Output (tab) is not including my CSS file and my images are all
> showing a Red X.
>
> If I put the full path to my images; for example, <img
> src="f:\web\images\theimage.jpg" />
> it works, but if i put <img src="/images/theimage.jpg" /> it shows the red
> x.
>
> If I access the page directly from within firefox or IE the images and CSS
> are displayed.
>
> i'm using php 5 with pdt 1.0.3 on windows xp.
--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
|
|
|
Powered by
FUDForum. Page generated in 0.03142 seconds