Hi,
The style white-space:nowrap makes sure that the child elements are not wrapped. It seems, however, that the nowrap only works for float:left elements and not for float:right. See code, when span and input are float left and I reduce the width of my page, the span and input stay on the same line (good). When they have float:right style, they are wrapped. Does anyone know how to avoid this? (have tested IE and FF)
Code:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <style>            
        div
        {
            white-space:nowrap;
        }
        span, input
        {
            float:right;
        }
    </style>
    
</head>
<body>

<div>
    <span>Some text</span>
    <input />
</div>

</body>
</html>
thanks