• 0

[Request] Simple JS


Question

ok all i need is my image - bg.jpg to be on the right hand side of the screen being repeated to the bottem so the right hand side is the bg.jpg then it again underneath

- if i make the image bigger to fill the gap i will start to have problems with all the different resolutions

thx

Ric

p.s Mozilla IE etc compatible pls

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Don't follow what you mean. You just want the side to use a background leaving the rest plain white/black/whatever?

Use a table and set BACKGROUND="image" for the <TD>.

Would be more efficent than making a 2000-3000 wide image to handle large resolutions.

Link to comment
Share on other sites

  • 0

add this after your <head>

&lt;style&gt;&lt;!--
body {background-image: url(url_of_image.jpg);  background-position: 100% 0%; background-repeat: repeat-y; }
--&gt;&lt;/style&gt;

Edited by m0fo
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.