CSS styling with font size in ems stopped working.
.aspxtextbox input
{
background-color:white;
font-size:1em;
font-family:Arial;
height:20px!Important;
color:#0000cc!important; /*blueish*/
}
aspxtextbox with this CSS styling stopped working. Font size so small that not letters showing.
Changing to font-size: large;
Or somthing fixes problem, but we have always used ems in all our font sizing in our project
The textbox is 20px in height, but font size is som small it can only be seen as a dot.
ASPxTextBox - Font Size with em stopped working
Answers
Hello Odd-Inge,
Please accept our apologies for the delay in responding. We have researched this issue and found out that it is caused by the implementation of the Support "Strict" DOCTYPE for all ASPx controls (ID: S34767) request:
Now the container of the <td> tag has the "td.dxic { font-size:0; }" CSS style. To resolve this issue, override the mentioned class in the following manner:
CSStd.dxic
{
font-size:inherit !important;
}
Regards,
Mike
Thank you. This solved the problem with 0 font size inside my textboxes.
Just discovered a similar problem. Inside my grids I have custom images for checkboxes:
<dxwgv:GridViewDataCheckColumn
Caption="Cert. Staff"
FieldName="isRightToSignAsCertifyingStaff"
ShowInCustomizationForm="False"
Visible="true" width="100px"
VisibleIndex="20"
ToolTip="Right to sign as Certifying Staff">
<PropertiesCheckEdit DisplayImageChecked-Url="…/…/Images/CheckBoxNoBorderOn.gif" DisplayImageUnchecked-Url="…/…/Images/CheckBoxNoBorderOff.gif"/>
<CellStyle HorizontalAlign="Center"></CellStyle>
<EditFormSettings Visible="False"/>
<PropertiesCheckEdit ValueChecked="true" ValueUnchecked="false"></PropertiesCheckEdit>
</dxwgv:GridViewDataCheckColumn>
This has worked fine until this last version. Now all my checkboxes seemed to dissapear. But if I set width and height explicit on them the custom checkbox is again visible. So the size for the checkbox image has suddenly become 0?
Can this be fixed in my CSS file so I do not have to set W/H on every checkbox control inside a grid?
This has worked fine until latest version.
Hello Odd-Inge,
Thank you for informing us that the problem has been resolved. We are glad that you have found our assistance useful. If you need any further help, please feel free to reactivate this ticket.
To process your reports more efficiently, we have opened a new ASPxGridView - A check box does not display a custom image in GridViewDataCheckColumn thread for your last question.
Thanks,
Jenny
By the way, this has worked fine in all previous versions.