Skizit
Skizit

Reputation: 44852

make div larger than window?

This probably is a stupid question and the answer is probably no but.. has anyone ever figured out a way to make a div "overflow" off of the window of a browser? Particularly on Chrome? Basically I've got a div which is a list which is overlayed on top of a webpage. I'd like the list not to be cut off by the window (assuming the window isn't maximized)

Ideally I'd like the window to remain the same size but the list continue past where the window ends. This is the ideal affect I'm looking for However, if anyone has a next best thing solution that will also be of great help!

Upvotes: 0

Views: 2640

Answers (2)

FIre Panda
FIre Panda

Reputation: 6637

Browser is an application that parses, interprets html and finally shows the output. There is no way to make div flow out of the browser, thats pretty impossible as per my knowledge. Whats the problem in providing div with a horizontal and/or vertical scroll bar when required.

Upvotes: 3

Richard H
Richard H

Reputation: 39055

You can either do:

width: 150%; 

or

width: 2000px;

or however wide it needs to be.

Edit: Oh - you don't mean render actually wider than the browser? (as opposed to scrolling). If so then the answer is most definitely No.

Upvotes: 2

Related Questions