Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a CustomListView WebPart.Can created a special style for webpart. for example :A view style defines how list data is displayed within the body section of the page, which in a Boxed style includes everything that is contained within the box.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I found answer :

I took CoreV4.css located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\STYLES\Themable and copied it locally, then attached it to my SharePoint page.

Save the copy to your SharePoint site in the Style Library or where you desire.

Open webpart and add your CSS reference:

    <SharePoint:CssRegistration runat=”server” name=”<% $SPUrl:~sitecollection/Style Library/ClientName/CSS/style1.css %>” After=”corev4.css”/>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.