This project is read-only.

Lightbox Doesn't Automatically Resize in Internet Explorer

This is because your DNN skin is not XHTML compliant. Add one of the following DOCTYPEs to your DNN skin:

<!DOCTYPE html> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

One of the easiest ways to make this happen is by setting the Fallback Skin Doctype in the Host Settings of your site. However, this will make all skins that do not have a specific DOCTYPE assigned inherit the setting you change here. This may cause undesirable side effects when the skin is rendered.

This can also be done using an XML file in your skin directory. Simply name the XML file the same name as your skin file. For example, if your skin name is Portal.ascx, then the XML file will be Portal.doctype.xml. In this file, put your desired DOCTYPE, like so:

<SkinDocType><![CDATA[<!DOCTYPE XHTML 1.0 Strict//EN" "">]]></SkinDocType>

More information about why the DOCTYPE is required can be found here:

Last edited Apr 27, 2010 at 11:06 PM by hismightiness, version 4


No comments yet.