So I've been trying to use pictures on a file in my c drive on my little "test" website. here's how I'm doing it (using a link as a picture)
<a href="google.com"><img src="C:\html\home_button.bmp" alt="home"
style="position:absolute;top:200;left:200"></a>
I have a picture called home_button.bmp, but it only shows the alt text, home.
The link works just fine, but the picture just won't show up. Any ideas/tips/help?
First, don't use BMP images. They're much larger than other formats, and they are poorly supported. Convert the images to GIF or PNG and use those.
Second, don't use Microsoft style backslash \ characters. URLs use slash / characters.
Also, see these FAQ entries:
http://htmlhelp.com/faq/html/basics.html#relative-url
http://htmlhelp.com/faq/html/images.html#broken-image
thanks dude, great help!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)