I can't believe this is true, but everything I try fails. I'm at my wits end and I can't believe that CSS would be designed this way.
Is it at all possible to have an inline DIV or SPAN that has a set width? I've been working on this for over a week and I want to kill myself. It seems like something everyone would want, and I need it about a dozen times on my site.
I have a DIV, width set 700. Within that div I have 4 INLINE divs, one with a set width.
the set width doesn't apply when I have it set as an inline DIV. The second I set it to block, it widens up and adds line breaks. I need NO line breaks and a set width.
This also applies to inline-block too. Please help me I feel like crying or smashing my computer.
Can you float the element that needs the fixed width? My info may be dated, but I don't think inline-block - which is exactly what you want, in theory - is well supported in all browsers. Floating the object gets you close, though.