Skip to content Skip to sidebar Skip to footer

How To Stop Elements Moving Around

I have a relativly straightforward setup in that I have a form with a label next to a text box. I also have an image that is hidden unless a validation check is failed. This is wha

Solution 1:

It's because by default img tag is aligned top, just try this:

.validateImage  { display:none; vertical-align: middle; }

Solution 2:

Just so that you have something to accept:

Have you tried adding #Name-Image-Validation { position:relative; top:10px }

Post a Comment for "How To Stop Elements Moving Around"