wsg  

Re: [WSG] resetting input boxes

John Unsworth
Thu, 07 Aug 2008 20:26:27 -0700

> Paul Bennett wrote:
>
> > Hi Kevin,
> >
> > It's not clear what you're trying to achieve. Can you give us some more
> information?
> >
> > Paul
> >
> Christian Snodgrass wrote:
>
> >
>  I think he's essentially talking about a CSS reset file, specific to input,
> to neutralize all of the browser differences.
>
>  I'm not sure of the specific elements, but just about any CSS reset should
> handle it. This is the one I prefer:
> http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
>
>  Yahoo also has it's own, but it's a lot bigger and I think somewhat of an
> overkill.
>
>  --
>  Christian Snodgrass
>  Azure Ronin Web Design
>  http://www.arwebdesign.net
>  Phone: 859.816.7955
>
>
Having just been working on a series of pages consisting predominately
of form elements, including inputs fields/boxes etc, and also using
the Eric Meyer reset, it's my experience thus far that the reset does
not neutralize all the browser differences. Opera for one seems to
treat the sizing of the input boxes differently to Firefox and Safari.
Added to that you can differing results depending on the system of
measurement you use, ie: em's vs pixel vs percentage, although I'm
inclined now to stick to percentage, ensuring the containing div or
fieldset is sized consistently across browsers with either em's or
px's.
I'm not informed or smart enough to know exactly why this is, but
suspect that as the browser is applying the OS input elements, in the
process it is creating dimensions that go beyond padding and margin.
Otherwise the reset would work?
Slightly off topic, but still with the Eric Meyer reset, I found that
when it declares a universal - background: transparent; - it disabled
Safari and IE7 from applying a class to the <tr> in a table when I
tried to Zebra stripe the table rows. I removed it (the univeral
reset), and at least in Safari (not yet tested on IE7) it was fixed.
Firefox, Opera and Camino all rendered the stripes as expected. Can
anyone possibly explain that?

Cheers people,
John Unsworth.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************