> 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).

Strictly speaking, it is solvable by CSS using attribute selectors. For
example,

input[type='text'] {width: 25em}

The caveat: While Firefox, Safari, etc. have been supporting attribute
selectors for a long time, IE until version 6 doesn't (not surprising,
I guess *sigh*). But there's hope for IE users since IE7 supposedly
supports this.

Hopefully, as CSS 2 and 3 get adopted and supported better in the next
year, we will be able to maintain clean separation between most content
and its presentation.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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