Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Browser Conflict on Input Fields!


alt131 - 1:00 am on Sep 18, 2011 (gmt 0)


@alt131; I haven't rejected the idea of defining line-height on individual divs
Just to clarify, it's the input - and must be !important (which is usually something to avoid) to override any default stylesheet setting.

I think perhaps "agree to disagree" on validation - EfeBuyuran, from comments over the years I think many regulars here validate as part of their daily coding life. I imagine at least some do because they work to the standards set by the recommendations rather than other coders coding habits. It's personal choice and there are many viewpoints.

However, I'm sure you can recognise that professionals are justified in asking if code is valid as a first step to helping with cross-browser issues given invalid code introduces so many variables and makes issues more time-consuming to solve.

By erasing the margin values and using padding on container div seemed to reduce the inaccuracy.
And that has the sound of margin collpasing - which would exdplain why I couldn't reproduce the issue here, and makes it even more intersting. Is it possible to post some more html and css for the surrounding elements?

[Edit reason:] Grammar!


Thread source:: http://www.webmasterworld.com/css/4362615.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com