In this four-part series of articles Iím going to show you how to build several floating HTML lists by means of a few basic CSS styles, and basic markup. In this manner you can implement this useful approach within your existing or future web sites. This is the first part.
Speaking frankly, how many times in your life as web designer have you found yourself using an HTML list to wrap the links of a fancy navigational bar? Well, if you're a strong advocate of modern web design techniques, then probably the answer to that question will be tens, even dozens of times. As you know, lists are very popular nowadays. They can be used for showing bulleted items in an elegant way, and for containing groups of links.
Building both vertical and horizontal HTML lists is a process that can be tackled with relative ease, particularly if you have an intermediate background in CSS. Things can get much harder, however, when it is necessary (for example) to display two vertical lists within a web document, particularly when the first one must be placed to the left of the web document and the second one positioned directly to the right of it.
In this particular case, the solution is much simpler than you may think initially. It involves working with a helpful CSS-based technique called, not surprisingly, floating lists. In the scenario described above, the first list could simply be floated to the left of the web page via a typical "float" CSS property, while the second one would be floated to the right of the pertinent page. Quite easy to achieve, right?
However, as with many other topics within the huge terrain of modern web development, using floating HTML lists requires adequate practice, apart from learning the corresponding theoretical concepts.
Having already introduced you to the subject of this article series, it's time to start learning how to construct some floating lists in a few easy steps. Let's get started!