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


  • 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" >
    { width: 200px;  font-size: x-large; }
    </ asp:Content>


    Hope it helps.

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

All replies