Ever notice the weird difference in margins between IE6 and the rest of the browsers when using floats? IE6 seems to like to add an extra pixel more than specified in margins. The following will show you an easy way to fix this problem.
more →
Which is better, divs or tables? There’s is really no correct answer for this and it’s basically a matter of preference. In terms of layout, they can work in the same way. However, I would say that using divs are more efficient.
In order to be rendered, browsers download the table’s presentational markup every time, even when the page is refreshed. While CSS can initially be bigger than a table’s markup, browsers cache the styles so that it takes less time to render the page.
more →
Keeping the footer at the bottom of the page isn’t hard to do. The way I will show you will also keep a min-height so that if the browser gets too small, the footer won’t run into any of the page’s content.
more →
There can be times when we need a div to remain a certain size despite the content that is inside. For this effect we use the overflow property.
more →
In today’s tutorial, I will show you how to use PHP to select among different stylesheets that you have for your site. I will still be using Javascript to choose, but it’s not too important in this tutorial.
more →





