Font-Size: 1px for input type text

2 posts, 0 answers
  1. Jp Maxwell
    Jp Maxwell avatar
    47 posts
    Member since:
    Apr 2004

    Posted 08 Jul 2009 Link to this post

    Hi guys!
    Can you help me with this? On IE7 a decorated form looks horrible after upgrading the telerik tools. The wrong thing it's that applies  Font-size=1px to the parent TD.
    Thanks in advance

    Here the generated code on the client:

    <TBODY><TR>

    <TD>

    <DIV style="FILTER: null; BACKGROUND-COLOR: #6788be; HEIGHT: 14px; opacity: null" class=rfdRoundedOuter>&nbsp;</DIV></TD>

     

    <TD>

    <DIV style=

     

    "BACKGROUND-IMAGE: none; BORDER-BOTTOM: #6788be 1px solid; FILTER: null; BACKGROUND-COLOR: #ffffff; HEIGHT: 14px; BORDER-TOP: #6788be 1px solid; opacity: null" class=rfdRoundedInner>&nbsp;</DIV></TD>

     

    <TD>

    <DIV style=

     

    "BACKGROUND-IMAGE: none; BORDER-BOTTOM: #6788be 1px solid; FILTER: null; BACKGROUND-COLOR: #ffffff; HEIGHT: 16px; BORDER-TOP: #6788be 1px solid; opacity: null" class=rfdRoundedInner>&nbsp;</DIV></TD>

     

    <TD style=

     

    "FONT-SIZE: 1px"><INPUT style="BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; BORDER-LEFT-WIDTH: 0px" id=ctl00_ctl00_cphMain_cphInnerMain_txtUserName class=rfdInput name=ctl00$ctl00$cphMain$cphInnerMain$txtUserName></TD>
    ...

     

  2. Martin
    Admin
    Martin avatar
    585 posts

    Posted 09 Jul 2009 Link to this post

    Hi Jp Maxwell,

    Well, this issue seems strange and it has not been reported by anyone else. Please, try to exclude your own styles from the project, because and see what happens. Also, remove the FormDecorator from the page, and check the result. Force the desired CSS font-size of your table cells with !important. If none of these fixes the issue, please, send us a sample project that includes RadFormDecorator, your layout and styles. Also, make sure that you are using an xhtml doctype, as our controls perform best in standards compliance mode, and issues may arise in quirks.

    Kind regards,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top