For the purpose of CSS styling, elements can be generally divided into a few different categories. Two of those categories are block-level elements and inline elements. Read this article that will help you code sites that are efficient and maintainable without overuse of floats or other undesirable methods.
A block element without a set width, expands naturally to fill its parent container and without a set height, expands naturally to fit its child elements while an inline element flows along with text content.
Comments
Be the first to write a comment
You must me logged in to write a comment.