Hi
I have 3 SPAN that must be inline and have and a min-width.
Apparently on IE, the SPAN can’t have an min-width. I try to use DIV but when I put it inline, the min-width is ignore.
CSS
span {
display: inline;
min-width: 150px;
}
HTML
<span>1</span>
<span>2</span>
<span>3</span>
inlineelement can’t takewidth,height,vertical margin&padding. So you have to definedisplay:inline-block;write like this:Source: Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification: 10.3 Calculating widths and margins: 10.3.1 Inline, non-replaced elements:
check this http://jsfiddle.net/yCvhB/5/