This is a migrated thread and some comments may be shown as answers.

Font-Size: 1px for input type text

1 Answer 40 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Jp Maxwell
Top achievements
Rank 1
Jp Maxwell asked on 08 Jul 2009, 09:17 PM
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>
...

 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 09 Jul 2009, 05:06 AM
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.
Tags
FormDecorator
Asked by
Jp Maxwell
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or