In the previous section, you have learned how to enable text floating on the right side of WebCombo.
In this section, we will discuss how to enable the text floating on the left side as well to simulate the behavior of WebCombo.NET 3.x.
Simulate inline text floating behavior
- Wrap the inline text that appears on the left of WebCombo inside a DIV container.
- Set the DIV's style to "float: left"
- The result should look like the following:
The layout in WebCombo.NET 4.0 that simulates previous version's behavior. -
The modified HTML should look like the following:
The modified HTML to simulate left text floating.