none
ASP.NET Calendar control - Chrome does not obey cell height CSS directive RRS feed

  • Question

  • Using the standard Microsoft Calendar control in an ASP.NET Forms project.  It's my understanding that this calendar should be styled like a typical table.  However, setting <td> height: 65px is completely disregarded in Google Chrome. However the height is displayed properly in Firefox, IE 11, Safari and Edge.  Does anyone know the proper CSS to handle this anomaly?

    Abbreviated HTML:

    <asp:Calendar ID="mainCalendar" runat="server" CSSClass="conCalendar">...

    Abbreviated CSS:

    .conCalendar {

        margin: 0 auto;

        text-align: center;

    }

    .conCalendar td {

        height: 65px;

    }

    Note: Tried adding "table-layout:fixed;" to conCalendar style, but still have the same problem.

    Thanks!

    Sunday, May 21, 2017 12:28 AM

All replies

  • Hi Marak,

    Especially with this kind of presentation problems the right Microsoft forums are for ASP in 

    http://forums.asp.net


    Success
    Cor

    Sunday, May 21, 2017 7:33 AM
  • Hi Marak60,

    Since this forum is discussing and asking questions about the Visual Basic programming language,
    IDE, libraries, samples, and tools, and your issue is more related to asp.net. This link about asp.net, please refer that:https://forums.asp.net/

    Thank you for participating in the forum activities.

    Best Regards,

    Cherry



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, May 22, 2017 2:21 AM