.element
{
min-height:600px;
height:auto !important;
height:600px;
}
Month: December 2009
Target IE6 and IE7 with only 1 extra character in your CSS
#elementId
{
text-align:left; /* all normal browsers */
text-align:center; /* notice the * before the property – understood by IE7 and below */
text-align:center; /* notice the _ before the property – understood by IE6 and below */
}
SharePoint Best Practice – Querystring parameters you should not use in your SharePoint application
When creating the SPContext object SharePoint evaluates the following query string parameters if provided:
- ContentTypeId
- Contents
- FeatureId
- FolderCTID
- ID
- ListTemplate
- List
- Mode
- RootFolder
- Type
- VersionNo
- View
To ensure that the creation of the SPContext object does not fail your application should ensure that your query string parameters are different from those listed above.
C# tryparse
int id = int.TryParse(”200″, out id) ? id : -1;