Tag Archives: HTML

How To Center A Block Element Without Width Defined

It is simple to center an element with its width defined but the real issue crops when we are faced by the challenge of centering the block element for which we don’t have any width set. Say for example we … Continue reading

Leave a comment

How to Use Multiple CSS Classes

As per my belief regarding how important it is to keep things simple let’s see another way to make our life easier as front end developers. We will take a look at how we can add multiple classes on a … Continue reading

Leave a comment

Solution to IE Bugs – Conditional Comments

Internet Explorer (IE) drives me crazy and all of us at some point or the other. It is painful to see the our design break in IE when you made everything as per standards and all works fine in latest … Continue reading

1 Comment

All About CSS3 Media Queries

If I fill water in a container it will spread as per containers dimension. Media queries help us achieve similar goal. They render responsive design. What is responsive design? A responsive design fits itself as per the screen it is … Continue reading

6 Comments

Readable HTML Code

I always believe in keeping things simple. The same theory I apply to my work as well. Recently a friend asked me why I type code on separate lines. I told him it is more readable and easy to scan. … Continue reading

Leave a comment