[css-d] Ignore white-space between inline and/or inline-block elements in WebKit

2011-03-19 Thread Jarek Foksa
Hi, The following code will render as A B C (with whitespace between each span element): div spanA/span spanB/span spanC/span /div While this code will render as ABC (without any whitespace between each span element): divspanA/spanspanB/spanspanC/span/div Is there a CSS vendor extension

Re: [css-d] Ignore white-space between inline and/or inline-block elements in WebKit

2011-03-19 Thread Philip Taylor (Webmaster, Ret'd)
Jarek Foksa wrote: Is there a CSS vendor extension in WebKit that would allow me to explicitely specify whether whitespace between elements should be preserved or not? This may seem an odd question, but why would you want a solution that will work in only one family of browsers ? Philip

Re: [css-d] Ignore white-space between inline and/or inline-block elements in WebKit

2011-03-19 Thread Jarek Foksa
This may seem an odd question, but why would you want a solution that will work in only one family of browsers ? I'm writing a hybrid desktop application that uses WebKit rendering engine, so I don't have to care for cross-browser compatibility.

Re: [css-d] Ignore white-space between inline and/or inline-block elements in WebKit

2011-03-19 Thread Philippe Wittenbergh
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 spanA/span spanB/span spanC/span /div While this code will render as ABC (without any whitespace between each span element):

Re: [css-d] Ignore white-space between inline and/or inline-block elements in WebKit

2011-03-19 Thread Jarek Foksa
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. Thanks, this seems to be the most elegant solution. The only caveat is that the children must be either block-level elements or have display

Re: [css-d] IE Background Position

2011-03-19 Thread Kevin A. Cameron
So looks like it was an issue with overflow: hidden and text-indent. IE8 still considers the element to be be large enough to enclose the text, so the background-position: right 0 means the BG is off screen. Adding an IE7 *+html {overflow:visible} fixed the issue for this browser. Fixed version

Re: [css-d] Ignore white-space between inline and/or inline-block elements in WebKit

2011-03-19 Thread Kevin A. Cameron
Could float:left; each span. Kevin On Sat, Mar 19, 2011 at 6:16 AM, Jarek Foksa ja...@kiwi-themes.com wrote: 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. Thanks, this seems to