Code for positioning background image iin html?
I need a code to position an image in the bottom left corner of my web page. I don't want it tiled
It should be written in html
if someone could give it to me it would be great
Public Comments
- <style> body {background: #fff url(myimage.jpg) no-repeat bottom left; } </style>
- I'd recommend using divs/css for learning html but since you need a quick fix and this is an easier solution, we'll use tables for this example create a table with 2 rows. set the height of the table to be 100%, in the 1st row is where your content is located, in the 2nd row you can place your image. it will look something like this <table height = 100%> <tr> <td height = 90%>hello</td> </tr> <tr> <td align = left>image goes here</td> </tr> </table> ****use Mondschein's CSS solution, much easier than mine ***
- You don't use HTML for that, you use CSS. Buy a book on it.
Powered by Yahoo! Answers