Another problem layout
Blocks with pretty graphical borders.
Often you see content managed sites that feature content split up into multiple blocks. The chief example is probably the weblog. Many people like to put nice graphical borders around each “portlet”, but this requires tables or a whole bunch of CSS faff. The gist is simple, a particular graphic at each corner and then others that scale either vertically or horizontally to fit the sides, the sizes of which are dictated by the content.
An example would be the portlets down the left of Amazon’s front page or the content areas on The Forum’s site (one of mine).
This problem distills down to a more fundamental one: the problem of arranging one piece of content at the left side of a block and another at the right. Another example would be a toolbar that has navigational links on the left, and displays the time on the right. This is a doddle with tables, but in CSS, the float
property isn’t powerful enough and wasn’t really designed for the task. As usual you can go a long with absolute positioning here, but it’s usefulness begins to break down as you start including more complex content in your two regions.