Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Change SharePoint modal dialog width

$
0
0
I'm created a custom master page that has a width of 944.  Unfortunately the dialog boxes are now 1500px wide.  I want to reset the dialog boxes to a width of 944.  I've tried using CSS and jquery with no success.  Here is what I've tried with no success (even the background color does not work:
.ms-dlgBorder .ms-dlgContent .ms-dlgTitle .ms-dlgOverlay ms-dlgTitleText
{
	background-color:green!important;
	width:944!important;
}
I've also tried jQuery:

$('div.ms-dlgContent').css('width','944px');

$('ms-dlgContent').css('width','944px');
Anyone ever accomplished this? Not even sure why SP made the dialogs larger since my page width dropped.



Viewing all articles
Browse latest Browse all 11571

Trending Articles