html - Remove white space in hidden and display:none input elements -


i've got few lines this:

<input type="hidden" name="email" value="email@email.com" style="display:none" > 

each 1 adding space, though i've used type hidden , display:none. i'm starting think it's in css (http://www.pastebin.ca/2350649), after changing few things can't find causing either.

the input inside form, if makes difference.

it's not input element, rather html. if have setup like:

text <input> more text 

the newlines/spaces between text , input element rendered.

the simplest solution of course remove whitespace in html when it's emitted. if can't that, 1 trick add font-size: 0 container , font-size ? individual elements display.

http://jsfiddle.net/explosionpills/cs63w/


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -