Since the release of Q3 2011, the property EnableSingleInputRendering has made it possible to display the label above the actual input by setting the label's css (LabelCssClass) to:
While this has the desired effect, you have to reset the width's for the label and the input's container:
This allows the input to take up the entire width set by the control's Width property.
The issue I'm having is that the input extends beyond the bounding box of the control. If you create 4 controls and set their widths to 25%, you would expect the 4 equally sized controls to take up the available 100% space. Instead, I think the internal padding is pushing the input beyond the desired bounds of the control.
In the attached files are some screen caps.
Example 1 shows how the 4th control wraps to the next line. Example 2 shows IE9's Developer Toolbar's view of the span that renders around the entire control.
Is there a way to constrain the input to the desired bounds, given any number of values I can set for the control's Width?
.wrapLabel
{
float
:
left
;
clear
:
left
;
}
While this has the desired effect, you have to reset the width's for the label and the input's container:
.riSingle .riContentWrapper {
width
:
auto
!important
; }
.wrapLabel {
width
:
auto
!important
;}
This allows the input to take up the entire width set by the control's Width property.
The issue I'm having is that the input extends beyond the bounding box of the control. If you create 4 controls and set their widths to 25%, you would expect the 4 equally sized controls to take up the available 100% space. Instead, I think the internal padding is pushing the input beyond the desired bounds of the control.
In the attached files are some screen caps.
Example 1 shows how the 4th control wraps to the next line. Example 2 shows IE9's Developer Toolbar's view of the span that renders around the entire control.
Is there a way to constrain the input to the desired bounds, given any number of values I can set for the control's Width?