Html code help please?
When putting an image in the background what code do I use to get the picture to go from edge to edge?
Public Comments
- YOu need to resize the image to the resolution of the screen you want. html wont stretch an image.
- there are several ways. see the link which explains beautifully
- http://www.htmlcodetutorial.com/quicklist.html
- <body background="background.jpg"> The image will repeat if smaller than the screen :) You can use GIF or JPG file formats :)
- To avoid effects of different width screens, use a table. This one is for an image 800 pixels wide. <body bgcolor="#dddddd" vLink=#ffffff aLink=#ffff00 link=#ffeeee> <table border="0" background="photos/back3.jpg" cellspacing="0" cellpadding="0" align=center width="800"> <tr> <td> </td> </tr> </table> </body>
Powered by Yahoo! Answers