I was wondering if I could remove the div wrapper from the Rails hidden inputs that are automatically generated in the forms?
The reason is that it gives me a “B” in my ySlow report and tells me to avoid CSS expressions. I know this little thing really doesn't matter for performance, but I would like to know if this is possible.
Grade B on Avoid CSS expressions There is a total of 1 expression inline <style> tag #1 (1 expression) <form accept-charset="UTF-8" action="/site/search" method="get"> <div style="margin:0;padding:0;display:inline"> <input name="utf8" type="hidden" value="✓" /> </div ...
source share