# I need DIV help

**URL:** <https://forum.kirupa.com/t/i-need-div-help/24641>\
**Category:** programming\
**Created:** [July 3, 2003, 2:44am UTC](https://forum.kirupa.com/t/i-need-div-help/24641 "2003-07-03T02:44:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Exedus](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@Exedus](https://forum.kirupa.com/u/Exedus)\
**Post date:** [July 3, 2003, 2:44am UTC](https://forum.kirupa.com/t/i-need-div-help/24641/1 "2003-07-03T02:44:01Z")

</div>

I’m not sure if this is the right forum for this but I’m getting no help at [somethingleet.com](http://somethingleet.com)

Ok here’s my problem. I’ve designed a site in photoshop for 1024x768. I’ve just tried the site on a 19’ monitor and discovered something. There is a large blank space of nothing at the right side of the screen because of the larger resolution.

The site has a backgound while the content is inside a box. I would like to know how to fix it so that the backgound image stretches to fit whatever resolution while leaving the content area alone. Please help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 2:27pm UTC](https://forum.kirupa.com/t/i-need-div-help/24641/2 "2003-07-03T14:27:40Z")

</div>

Nothing here either?:trout:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 4:24pm UTC](https://forum.kirupa.com/t/i-need-div-help/24641/3 "2003-07-03T16:24:18Z")

</div>

I don’t think you can stretch a background image, but you can tile it :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 5:20pm UTC](https://forum.kirupa.com/t/i-need-div-help/24641/4 "2003-07-03T17:20:37Z")

</div>

I think you could do that with JavaScript…you could make some backgrounds for different resolutions, and then display the one which one matches the user.

No idea how to do it though. I don’t know JavaScript ☹
