CSS - MVC - Label control issue
Posted: March 29th, 2022, 5:00 pm
When applying a style to the Style property of a label control the functionality is different between Classic and MVC.
Classic:
Applies the style to the span inside of the containing div. This applies all styles correctly and is the desired functionality.
MVC:
Applies the style to the containing div for the label control. This applies almost all styles to the span but not the font-size. It applies the font-size to the title of the label control.
I think the Classic functionality is correct and that is how it should work in MVC as well.
Classic:
Applies the style to the span inside of the containing div. This applies all styles correctly and is the desired functionality.
MVC:
Applies the style to the containing div for the label control. This applies almost all styles to the span but not the font-size. It applies the font-size to the title of the label control.
I think the Classic functionality is correct and that is how it should work in MVC as well.