Print CSS in SharePoint 2010

by Vipul Bhavsar 25. May 2011 04:57
/* This CSS removes the header, navigation and other action elements from the print preview  */
 

1. 

@media print{

.ms-globallinks,.ms-siteaction,.ms-areaseparatorcorner,.ms-titlearealeft,.ms-searchform,.ms-banner,.ms-buttonheightwidth,
.ms-areaseparatorright,.ms-titlearearight,.ms-rightareacell,.ms-leftareacell,.ms-areaseparatorleft{
display:none;
}
 
/* Insert your print stylsheet here */

}

2. 
 
 /* To use this CSS for  just add the <linl> to this CSS with the media="print"  in your master Page  */ 
 

<link rel="stylesheet" media="print" href="print.css" type="text/css"/>

Tags: , ,

SharePoint 2010 | SharePoint Designing

Force IE to render in IE standard mode

by Vipul Bhavsar 11. May 2011 07:28

Forcing a document mode

<metahttp-equiv="X-UA-Compatible"content="IE=Edge"/>

or the HTTP header:
 
X-UA-Compatible: IE=Edge


to get the latest renderer whatever IE version is in use.


You can force a particular document mode by using the X-UA-Compatible HTTP header or by using the<meta> tag equivalent:<meta http-equiv="X-UA-Compatible" content="IE=IEVersion">


There are several different possible values for the IE version in this field and they don’t necessary map to the three document modes:
Edge – always put the document into the most recent document mode available. Doctype is ignored. For Internet Explorer 8, this forces the document mode to IE8 standards all the time. Be careful when using this because when Internet Explorer 9 comes out, this will force the page into IE9 standardsmode.
EmulateIE8 – if a doctype is present, set the document mode to IE8 standards and otherwise set the document mode to IE5.
EmulateIE7 – if a doctype is present, set the document mode to IE7 standards and otherwise set the document mode to IE5.
8 – force document mode to be IE8 standards. Doctype is ignored.
7 – force document mode to be IE7 standards. Doctype is ignored.
5 – force document mode to be IE5. Doctype is ignored.

For example, to make the document mode behave as it would in Internet Explorer 7, you can use the following:<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">


Whereas to force IE7 standards mode regardless of doctype, use this:<meta http-equiv="X-UA-Compatible" content="IE=7">


You are not required to have an X-UA-Compatible field set on pages. If not present, the default isEmulateIE8

Tags: , , ,

HTML\CSS

Change Document Uploading Size in SharePoint 2010

by Vipul Bhavsar 3. May 2011 01:54

It is actually 2GB in SP2010 and SP2007, and this is a hard limit. However, each web application by default is set to 50MB. You can go to the General Settings of a Web Application and tweak this setting.

Central Administration -> Application Management -> Manage Web Applications
 
Once there highlight the web application that you want to change and then click on general settings
Once in general settings scroll to the bottom of the list and you will see the maximum upload size the default setting is 50mb this can be can set to a maximum size of 2047mb. If you try to go beyond this it does flag up and tell you that you have exceeded the Maximum size.

Tags: , , ,

SharePoint 2010

About Ignatiuz

Ignatiuz Technologies is an IT company offering technology solutions for customers keeping partner centric approach with a mantra "Compelling IT Solutions". The company is passionate to latest technologies & innovation. Our consulting led approach make our customers become partners & partner's transformation to global corporations.

Ignatiuz QR Code

Month List

Tag cloud