Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
How to set alignment for Web Date Chooser Control
posted

I have several WebDateChooser on my pages. The drop down button is the calendare image i.e. calendar.gif. Everthing is working fine. The only change I need to do is to set the alignment of the date to right. Can anybody which property is used for that. Here is my code:  

<

 

 

igsch:WebDateChooser ID="wdc_date_offer_made" runat="server"

 NullDateLabel="" Value="" 

NullValueRepresentation="DateTime_MinValue" Width="110px" ToolTip="<%$ resources:LAtooltips, dateoffermade %>">

 

<DropButton ImageUrl1="../images/calendar.gif"></DropButton>

</igsch:WebDateChooser>

 

 

 

 

 

 

 

 

 

 

 

Parents
No Data
Reply
  • 995
    Suggested Answer
    posted

    Hi,

    You can use following style to move the text to the right:

    <style type = "text/css">

            .test

            {

                margin-left: 50px;//some sensible value

            }

    </style>

    In <EditStyle CssClass = "test" />

    You could use text-align: right; but the drop down button will set on top of the text.

     

     

     

     

     

     

     

     

     

     

     

Children
No Data