html image

Status
Not open for further replies.

DahWhon

Baseband Member
Messages
96
how would you go about stretching a background image all the way across the browser using html? what would be the code?
 
Code:
<Html>
<body bg="image.jpg">
Code the rest of your site here

If that doesnt work and it starts repeating just add in Width=100% Height=100% in the body tag.
 
how would i get it to fit the exact size of the browser and resize when someone changes the size of the browser?
 
should this work?
<html>
<bodybackground="http://i13.photobucket.com/albums/a289/dahwhon/d8a00dff.jpg" Width=100% Height=100%>
</html
 
i forgot to close the last html but it still only had the images repeat themselves to fill up the page
 
Status
Not open for further replies.
Back
Top Bottom