Hey krakkar,
Ég fékk kröfu frá fyrirtækinu til að breyta bakgrunnslit webpart titill fyrir Out of Box webparts. Þá fór ég að leita á CSS Ég fann eftirfarandi CSS bekknum sem kemur í stíl WebPart Titill.
.MS-WPHeader TD
{
border-botn:0px solid # 4e7cb7;
border-fall:fall;
}
Change this class as per your requirement then you are done….
.MS-WPHeader TD{
hæð:40px;
background-color: #0174DF;
font-size: larger;
font-weight: bold;
border-botn:0px solid # 4e7cb7;
border-fall:fall;
}
Hæ Uday…..
I am adding webparts on my Page Programatically……so
System.Web.UI.WebControls.WebParts.WebPart HelloWP = new Hello.HelloWebpart;
HelloWP.Title = “My Webpart”;
mgr.AddWebPart(HelloWP, “Left”, 0);
(mgr is my WebpartManager)
now how can i set the CSS to my webpart….???