My top bar contains multiple div
elements. Everything looks good in Chrome, but in Firefox, the .third
div wraps to a second row. How can I ensure that the .third
div behaves like it does in Chrome with nowrap in Firefox?
http://jsfiddle.net/qhoc/C6f4c/
Here are the requirements:
- The
.top
always occupieswidth:100%
of the browser window - Each inner
div
(first, second, third...) has a predefined fixed width - All divs must remain in one row. If the browser width is insufficient, the ones on the right should have overflow hidden instead of wrapping into a second line.
- Preferably use CSS for this task, resorting to jQuery only if necessary
Your assistance would be greatly appreciated!