Saturday, March 24, 2012

Panels - IE and Netscape perform differently

When using Panels, ie will put a div tag into your document where as Netscape will put in a table. When using a Panel inside a table, the Netscape version will create another table and messing up the alignment.

Is there any way to get them both to use the same format?When the Page's ClientTarget is blank, it only considers IE to be an "upscale" browser. Only upscale browsers are generate the <DIV> tag. An "upscale" browser will use an HTMLTextWriter for HTML 4. Others will use one for HTML 3.2.

Change the ClientTarget to "UpLevel" or customize the Uplevel info in your machine.config file.

0 comments:

Post a Comment