Subscribe to my feed

Resizing Facebook Dialog

April 11th, 2010

Technorati Tags: ,,,

After searching for a while I found there is no property to resize a fb: dialog element. By default it has a fixed size in width and sometimes it’s difficult to adjust the content in it.

Anyway if you need to change the size of the dialog you can override the .generic_dialog_popup css class locally in your page.

   1: <style>

   2:         .generic_dialog_popup

   3:         {

   4:             width: 800px !important;

   5:         }

   6: </style>

image

Note: Take into account that every single popup open in the context of the page will inherit the new overridden properties.

Leave a Reply