Vertical Align Text in a DIV Element Using CSS

In the course of your web design projects, you may come across a situation where you are required to show several lines of text inside a div element. You may also need these lines of text to be centered horizontally. For most of the part, using text-align:center inside the parent div willdo the trick. However,… Read More »

How to Use CSS Negative Margin

Of all the cool elegant features in CSS, negative margins is the coolest of them all. Almost everyone is doing it for their web projects and it is absolutely fantastic. Just to set a few things right before we begin, margins are the spaces on the outside of an element while padding is the space… Read More »