SpringFlowers AutumnMoon wrote:
> Marnen Laibow-Koser wrote:
> 
>> The idea that it won't be understood is simply false.  Leaving aside the 
>> questionable accuracy of the 66% figure, 
> 
> http://en.wikipedia.org/wiki/Usage_share_of_web_browsers

Irrelevant.  As I already explained, *across-the-board statistics are 
not useful here*.

> 
> 
>> it is a fact that all browsers 
>> *do* understand XHTML served as I have outlined above -- that is, the 
>> way Rails does it *by default*!
> 
> so if i write
> 
>   <div style="clear:both" />
> 
> will IE close the div?

Self-closing container tags are basically the only risky XHTML syntax in 
IE, as I understand it.  I suggest you try this and see what you get.
If it turns out to be a problem, use <div></div>, which is valid HTML 
and XHTML.  I don't think Rails' helpers produce empty containers in any 
case, so you're safe.

Again: *try it*.  If you have problems, then fix them.  But most things 
should Just Work, so don't worry until something *actually* goes wrong.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to