bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Modal created with JS document.write doesnt space input fields the same as HTML version

Open zo103181 opened this issue 13 years ago • 2 comments

I have a modal that I would like to include in multiple pages so I created a .js file that would write the modal to the HTML page. This works just fine, but it seems that the spacing for my input fields is too close compared to the HTML version.

HTMLModal

JavaScriptModal

JSFiddle - http://jsfiddle.net/MgcDU/1427/

I am confused on what might be causing this. Thank you for taking the time to read my issue.

zo103181 avatar Jan 22 '13 21:01 zo103181

In your HTML version there is a space (or linebreak or multiple spaces) between the inputfields and in your JS version there isn't.

paales avatar Jan 23 '13 00:01 paales

Thank you. I cant believe I made that oversight ... I will try to remember next time.

zo103181 avatar Jan 23 '13 02:01 zo103181