I can't tell you why it happens but I can give you a fix – Add a "display:block;" style to your input, textarea styles. IE8 has a similar problem.
Here's a fixed version – http://www.sawayaconsulting.com/sandbox/safari_textarea.html Steve On Mar 30, 2010, at 10:00 AM, Wade Preston Shearer wrote: > I encountered something yesterday that I hadn't come across before. I have > recreated in a pristine environment to confirm that it is actually an issue. > Strangely, WebKit-base browsers are adding a few pixels of bottom margin to > textareas even when they are told to have none. > > > Screenshot comparing Safari to Firefox: > > http://screencast.com/t/ZWZlOWVhNDEt > > > Actual code: > > anavidesign.com/temp/safari_textarea.html > > > Does anyone know of a workaround? > > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
