Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

popup.html - change width?

How do I change the width of popup.html? I've attempted changing the width of the div in it but that seems to have no effect.

Here is what I've tried...

<div id='poppingup' style = "min-width: 300px; display:none"> 
like image 696
Skizit Avatar asked Feb 16 '11 19:02

Skizit


People also ask

How do I change the size of a popup window in HTML?

In HTML Executable, you can define several properties for pop-up windows: go to Application Settings => Pop-Ups. You may define the default size for new pop-up windows: enter the desired width and height in the different fields.

How do I reduce the size of a pop-up window?

You can set height and width of your popup window by using window. resizeTo(preferedWidth, preferedHeight) function. If you want to set this inside a popup window not from parent window than self. resizeTo(preferedWidth, preferedHeight); will do the job for you.

How do I change the pop-up size in Chrome?

The popup window sizes are set to the Chrome's largest possible limits. Alternatively you can set this Option > Button > "Open Checker Plus detached" then open the popup by clicking the icon and resize the window. The next time you open the popup it will remember that size.


1 Answers

Popup width is determined by the visible content, so either make your div visible or apply min-width to body:

body {     min-width:300px; } 

(there is also a limit on max width, I think it is 800px)

like image 157
serg Avatar answered Oct 14 '22 05:10

serg