Re: Miva Merchant 5.5 Dream Features
There is no way to do type="text" maxlength="" via css. It is implemented at the browser level. The only other way is via Javascript but using maxlength is far more elegant.
As for the CSS, good point, but you are assuming you want the same formatting on all product attributes. Very often, that is not the case.
By adding these html attributes to Merchant attributes you can make them product specific. Perhaps a CSS class field for each attribute would be sufficient in most cases. and simpler to impliment.
There is no way to do type="text" maxlength="" via css. It is implemented at the browser level. The only other way is via Javascript but using maxlength is far more elegant.
As for the CSS, good point, but you are assuming you want the same formatting on all product attributes. Very often, that is not the case.
By adding these html attributes to Merchant attributes you can make them product specific. Perhaps a CSS class field for each attribute would be sufficient in most cases. and simpler to impliment.
Comment