Yuav ua li cas kom hloov xim tom qab WebPart Title

Hav Guys,
Kuv tau txais ib tug yuav tsum tau los ntawm cov lag luam yuav hloov xim tom qab lub Title webpart rau ntawm Box webparts. Ces kuv pib nrhiav rau CSS kuv pom cov nram qab no CSS hoob uas overrides cov style WebPart Title.

.MS-WPHeader TD
{
ciam teb hauv qab:0px khoom #4e7cb7;
ciam teb-collapse:cev qhuav dej ces;
}

Hloov cov kawm as per koj yuav tsum tau no ces koj yuav ua li cas….

.MS-WPHeader TD{
qhov siab:40px;
tom qab kob: #0174DF;
Font-loj: loj dua;
Font-luj: ntawv tuab;
ciam teb hauv qab:0px khoom #4e7cb7;
ciam teb-collapse:cev qhuav dej ces;
}

1 muab tswvyim rau yuav hloov cov Background ua xim of WebPart Title

  • noreply@blogger.com (Saurabh)

    Kuv tuaj los Uday…..

    Kuv muab kuv webparts rau ntawm kuv Page Programatically……thiaj li
    System.Web.UI.WebControls.WebParts.WebPart HelloWP = Hello.HelloWebpart tshiab;
    HelloWP.Title = “Kuv Webpart”;

    mgr.AddWebPart(HelloWP, “Sab laug”, 0);
    (mgr yog kuv WebpartManager)

    tam sim no cas yuav kuv teev tus CSS rau kuv webpart….???

sau ntawv cia

Koj siv tau qhov cim npe no HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>