A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

The only CSS you will need…

This article and the example pages are perhaps not the universal answer so the article title is maybe a little bit overstated, but hopefully they can make it easier for someone. Furthermore, all the pages are also experiments in how to change a layout without having to use absolute positioning since this take the element out of the page flow. The changes in layout are made by changing mainly floating, margin and padding – no absolute positioning is used.

On the example pages you will find a short description on the page, and if you look in the source code everything is hopefully clearly explained.

As you can see on the images below the different elements in the layout have differenct colors for better visualization.

That’s it for the intro. Click here for the entire article.

This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>