Scott Swabey wrote:
> Paul Novitski wrote:
>> Thierry Koblentz wrote:
>>> What about:
>>> HTML:
>>> <i></i>
>>>
>>> CSS:
>>> * html i {width:0;overflow:hidden}
>>
>> What DOES work is to insert some arbitrary content into the I tag,
>>          then suppress its size: Lorem <i>&nbsp;</i>/ipsum
>>          i { font-size: 0px; }
>>
>> See http://juniperwebcraft.com/demo/slashwrap.html for illustrations.
>
> A couple of final alternatives:
> 1) insert a soft hyphen [&#173;] before the virgule. Correct placement
> of the entity is essential to avoid display of the hyphen when it's
> use is invoked. With your demonstration, placing the entity before
> the space before the virgule [&#173; /]seems to work well;

Nice. It works before the space before the virgule (not just before the
virgule).
As a side note, the interesting part with the empty <i> or <span> is that it
fails if these elements don't have layout.

Regards,
Thierry | www.TJKDesign.com


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to