Re: [css-d] maxlength attribute in css

2005-09-21 Thread Sebastian Redl
Brian Cummiskey wrote: there's nothing "wrong" with it, but it won't validate xhtml strict... Yes, it will, if you spell it correctly (maxlength). XHTML 1.1: http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_extformsmodule XHTML 1.0 (defined by HTML 4.01): http://www.w3.org/TR

Re: [css-d] maxlength attribute in css

2005-09-21 Thread rhp
That makes perfect sense. Thanks for helping me realize that I really only want to eliminate *presentation* attributes from my xhtml template, not *all* attributes. - Chaz On 9/21/05, Christian Heilmann <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have been googling without success around for a

Re: [css-d] maxlength attribute in css

2005-09-21 Thread Brian Cummiskey
Christian Heilmann wrote: What is wrong with ? A maximum length is not a visual attribute, it is a data restriction, and therefore not the job of css. there's nothing "wrong" with it, but it won't validate xhtml strict... sorry, i don't have a solution either. _

RE: [css-d] maxlength attribute in css

2005-09-21 Thread CJ Larson
What they *might* be asking is -> A designer wants to format text boxes to be the same horizontal size even though their inputs are set at different maximums. For example, a phone number field takes 11 digits, give or take, and a name field takes 30 let's say, but the designer might want them both

Re: [css-d] maxlength attribute in css

2005-09-21 Thread Christian Heilmann
> Hi, > > I have been googling without success around for a way to set maxlength > for form inputs in CSS -- is this possible as far as anyone knows? > > If not, and if I have to use Javascript to achieve this task, can > someone point me to a Javascript discussion list that is equivalent to > this