Mythic Fr0st Posted December 1, 2006 Share Posted December 1, 2006 I trying to get a background image, this is the image part( Its in my directory for apache )[code]<head><style type="text/css">body { background-image: SilverBG.jpg; }</style></head>[/code]what I doing wrong?ALSO whats the code for aligning text? Link to comment https://forums.phpfreaks.com/topic/29088-cant-get-background-image-to-work/ Share on other sites More sharing options...
JasonLewis Posted December 1, 2006 Share Posted December 1, 2006 this isnt php. this is a css problem. i suggest a mod move this. Link to comment https://forums.phpfreaks.com/topic/29088-cant-get-background-image-to-work/#findComment-133315 Share on other sites More sharing options...
Flukey Posted December 1, 2006 Share Posted December 1, 2006 You need the URL part to the background image CSS.[CODE]<style type="text/css">body { background-image: url("SilverBG.jpg");}</style>[/CODE][CODE]text-align: left / center / right[/CODE]:) Link to comment https://forums.phpfreaks.com/topic/29088-cant-get-background-image-to-work/#findComment-133320 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.