@PPechmann
Posted
Hi Demy!
Congratulations on the solution, looks very nice!
Regarding the error messages resizing the margins: I recommend placing the errors in a small
tag and giving it a position: absolute
to take it out of the html flow. Same with the positioning for the error icons.
I also suggest applying a css reset to your projects, to avoid (like in this case) an unwated margin or padding on the body
, as many elements have some default stylings. Here you will find a reset I usually use.
Looking forward to see more of your solutions!
Happy Coding :)
Patrick
Marked as helpful
@Demyttenaere
Posted
@PPechmann
Hi Patrick!
Thanks for your answer! All right, I've noted the absolute position regarding the message and the error icon.
Great! I never thought of using the css reset, now I'll use it!
Thanks again for your advice and help!
Good coding!