Mythic Fr0st Posted December 1, 2006 Share Posted December 1, 2006 well, I wanna make my background an image, the image is in the same directory, as my apache stuff ( Pages n so on ), but it doesnt work, even when I put the name, or the actual URLhelp?[code]<style type="text/css">body { "C:\Program Files\EasyPHP1-8\www\Test": url("SilverBG.jpg");}</style>[/code]> whole code[code]<html><body><head><style type="text/css">body { "C:\Program Files\EasyPHP1-8\www\Test": url("SilverBG.jpg");}</style></head><img src="Gaming Ink Banner.jpg" width="1016" height="125">Signup<table border="1"><tr><form action="Youhavebeene-mailed.php" method="post"><td>Username: <input type="text" name="user" /> </td><br /><br /><td>E-mail: <input type="text" name="email" /> </td></br></br></tr><tr><td>Password: <input type="text" name="pw" /></td></br></br><td>Confirm E-mail: <input type="text" name="conemail"</td></br></br></tr><tr><td>Age:<input type="radio" name="sex" value="male">Male<input type="radio" name="sex" value="female">Female</td><br /><input type="submit" value="Signup" /></tr></form></body></html>[/code]Any help appreciated Link to comment https://forums.phpfreaks.com/topic/29149-cant-get-the-image-i-have-to-appear-as-background-of-my-website/ Share on other sites More sharing options...
noobstar Posted December 2, 2006 Share Posted December 2, 2006 Here you go:<style type="text/css"><!--body { background-image: url("your image location goes in here");}--></style> Link to comment https://forums.phpfreaks.com/topic/29149-cant-get-the-image-i-have-to-appear-as-background-of-my-website/#findComment-133833 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.