On Thu, 2006-10-26 at 15:41 +0000, RajeshD wrote:
> I agree completely with Malcolm's explanation above.
> 
> You can use CSS' width and height properties on your form's input
> elements where you need a different size. This solution keeps your
> presentation layer separate from your content/model layer.
> 
> For example,
> 
> input.my-char-field {width: 25em;}
> 
> textarea {width: 30em; height: 20em;}

We still need some solution for the sort of HTML element, though. This
thread started out as a query about controlling the use of input element
(with type="text") versus textarea. That part isn't solvable via CSS (it
is solvable via Javascript, but I'm not sure how natural that is).

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to