On Mar 19, 2011, at 9:17 PM, Jarek Foksa wrote: > The following code will render as "A B C" (with whitespace between > each span element): > > <div> > <span>A</span> > <span>B</span> > <span>C</span> > </div> > > While this code will render as "ABC" (without any whitespace between > each span element): > > <div><span>A</span><span>B</span><span>C</span></div> > > Is there a CSS vendor extension in WebKit that would allow me to > explicitely specify whether whitespace between elements should be > preserved or not?
No, or at least none that I know about. A list of all properties: http://css-infos.net/properties/webkit.php http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-SW1 http://dev.w3.org/csswg/css3-text/#white-space-processing has some details and future (future !) possibilities, but a complete removal of white-space is not on the table I think. It has also a description of all rules for the handling of white-space, more detailed than what CSS 2.1:16.6 offers. http://www.w3.org/TR/CSS21/text.html#white-space-model Perhaps something with the flex-box model might help you? for example: http://help.dottoro.com/lckcfgbc.php there are many more examples floating around. Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
