I have several identical HTML elements going one after another:
<span>1</span> <span>2</span> <span>3</span>
I am looking for a better way to add space BETWEEN elements using CSS
[no space] [1] [space 10px] [2] [space 10px] [3] [no space]
Additionally:
- Please write down browser compatibility with your receipts.
UPDATE
Looks like I was unclear. I do not want to use ANY ADDITIONAL HTML MARKER, for example
<span></span> <span></span> <span class="last_span"></span>
I do not want to use tables
I want the first and last range to be automatically adjusted using CSS
I do not want to use javascript
Additional requirements: the last range may NOT be the LAST CHILD of the parent tag, but it will be the LAST SPAN of the parent tag. There are no other tags in between.
css layout
Dan Nov 18 '11 at 15:43 2011-11-18 15:43
source share