Help with HTML?

ok so i know how to do the normal html codes but for some reason i cant get the picture i want to show as the background i have it saved in my pictures and this is the code <body background="/images/background.jpg"> what am i doing wrong am i not saving the pictures right or what

Public Comments

  1. If you can't see it up on your website live it's because you need to save the picture on the internet. People can't see pictures that are on your computer. Also Check www.htmlgoodies.com to see if your tag is right, it's been a while sense i used regular html, i use mainly css for images so check to make sure it's right.
  2. I would suggest putting the body properties into a style sheet. The style tags belong between the <head></head>tags. You would do this: <style type="text/css"> body { background-image: url('/images/background...'); } </style> Then, just use the body tag like this: <body> **Your body attribute is correct - so as virusaik stated, you need to make sure the picture is saved in the location your referencing.
  3. You may find some hints at: http://www.echoecho.com/htmlbackgrounds02.htm
Powered by Yahoo! Answers