Skip navigation

Popup

If a browser action has a popup, the popup appears when the user clicks the icon. The popup can contain any HTML contents that you like, and it’s automatically sized to fit its contents.

Page Action and Browser Action popups are sized automatically. If you generated the content dynamically and start out with an empty popup, at least on Mac OS X, Chrome has difficulty sizing your popup once you add wide content.

The solution is to set your popup width via CSS before you add content in a stylesheet linked to or inside the popup.html.

Posted via web from Apphacker’s learning curve

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: