MozillaZine

evolt.org Interviews Eric Meyer

Saturday January 25th, 2003

evolt.org has an interview with Eric Meyer, who works as a Standards Evangelist for Netscape. Eric has written many books and articles about Web standards, runs his own weblog and regularly contributes to Netscape DevEdge. The interview concentrates on CSS and features a healthy amount of plugs for Eric's latest book, Eric Meyer on CSS.


#15 Re: Re: Re: Really?

by jcf76 <jfleshman@hotmail.com>

Sunday January 26th, 2003 8:46 PM

You are replying to this message

OK, I'll bite. What the heck:

<input type="button" style="width: 100px; border: 10px solid black, padding: 10px; background: black; color: white" value="Test">

In my opinion, this would be styled similarly to a <span>... a 10px blace border around a black area 100px wide, with "Test" written in white in the middle of it. I could see where someone might expect to have a black button with a "normal" beveled edge, with a 10px border around /that/, but I think those people would be in the extreme minority.

Likewise, the border of a radio button or checkbox would be the beveled edges and the background would be the "hole". An <input type="file"> would be the only one that I couldn't see styles working with as they're currently written. Maybe CSS3 would implement something like input[type=file]:textbox and input[type=file]:button to make it stylable.

UAs that use native widgets wouldn't be able to do that stuff, but they also wouldn't be able to place a positioned <div> "above" a form (like N4), so they suck by definition.