none
Change Sahrepoint DateTimeControl's width and Font Size RRS feed

  • Question

  • Hi Need to reduce (change) the width and font of  sharepoint DateTimeControl.

    Kinldy help
    Wednesday, May 13, 2009 10:42 AM

Answers

  • Hi,

    If you want to change the width and font of SharePoint DateTimeControl, I think you can edit the CSS style “.ms-input”, if you only change the style in one page, you can override “.ms-input” in your web part page using SharePoint Designer, the code looks like:

    <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
    
    <style type="text/css" >
    
    .ms-input 
    
    { width: 200px;  font-size: x-large; }
    
    </style>
    </ asp:Content>
    
    

     

    Hope it helps.


    Xue-Mei Chang
    Tuesday, May 19, 2009 7:05 AM
    Moderator

All replies