I have a form I’m floating. When there is an error, via jquery, I’m adding some content to a p within the form. However, the form doesn’t vertically resize to fit the new content. Is there something I have to do to get a floated element to resize when the content within it changes?
Share
Do you have
heightor other css styling applied that would prevent it from vertically resizing?Also, what browser(s) is it happening in? It may be a browser bug.
If the
is floated, too, then depending on the styling (position: absolute), its dimensions may not be considered to be ‘in’ the form.