div width 100% of window size - but..
div width 100% of window size - but..
- Started
- Last post
- 3 Responses
- jtb260
excellent I'll try those both.
- orrinward0
Easy with Javascript, using window.width.
Google something like 'set div to window width in javascript' and have a look through the width()/height() stuff in jQuery.
- orrinward0
Alternatively, have the body set to 100% width/height, with one div inside it set the same with overflow hidden, then have another div inside that with the 50000px width and content in that.