Author: Vijay Sharma

Aligning Text Smartly in CSS

Have you ever thought of aligning text smartly in CSS? You must try now. No there is no CSS property text-align:smart or smartly Let’s see an example Here we are trying to achieve text-align: left when the text is more than one line in the given container. This is very simple to achieve. Now we […]

CSS3 Box Model behavior

What is CSS Box Model? W3C defines: “The CSS box model describes the rectangular boxes that are generated for elements in the document tree and laid out according to the visual formatting model” It means that any html element on a web page can be represented using a box. Yes, a web page is full […]