April 4th, 2013, 06:42 PM
Css background image
Hi so I am trying to use a image I made as the background for my web page. To accomplish this I tried to use a line of CSS code in the style tag but it does not seem to be working. Can anyone help? Thanks - Nick
<em><title>Home|Abstract Workshop.com </title></em>
<!--Define the stylistic elements-->
text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
<!--Create the meta data for the Browser-->
<meta name="keywords" content="Abstract Tech,Abstract,tech,FMR,mini rectenna,self powering laptop,functioning sonic screwdriver,screwdriver,sonic">
<meta name="description" content="A custom and innovative technolgy componany brining futuristic and cutting edge technology into the present">
<!--Open the Body Tag-->
<!--This is the code for the home page-->
April 5th, 2013, 12:17 PM
The css looks okay to me.
Is it possible that your <body> still has no content?
April 6th, 2013, 11:06 AM
Thanks but its still not working
Thank you for replying but it is still not working I have a theory that it might have something to do with my browser so I will try switching browsers
April 6th, 2013, 11:20 PM
nick, make sure the path to the image is correct. that is often a problem when backgrounds dont show. your css looks correct. tho as hde illuminates, we have to guess at other possibilities without seeing the whole file.
April 24th, 2013, 03:36 AM
background:url('background.png') no repeat;
September 11th, 2013, 05:15 AM
your close the <style> before the <body>..
September 17th, 2013, 06:17 AM
I have just used the same code and it works fine....
I think you are not giving the right path. Try to use relative path.
September 20th, 2013, 04:42 AM
Try out using the below code example.