Does anyone else wonder why we need a table with a cellpadding of 2, nested within another table just to make a border? I’ve been doing a lot of work recently, most notably over at www.package.ie/index2.php, and I’ve come to the conclusion that the various infobox and content boxes in osC are completely useless. Classes are supposed to make code more modular, more re-useable. But I have yet to find a project that it’s actually beneficial to reuse these classes. And the standard infobox of osC is nearly impossible to customize, other than the header and the footer (which can actually be done outside of the classes, as a wrapper around them) when using these classes. Simply put, formatting of the infoboxes, or virtually any formatting shouldn’t be done with nested tables. Using css entries with fixed position coordinates can accomplish this much more easily.
In the next few days, I’m going to take a crack at simplifying the infobox and contentbox content classes to use css entries rather than nested tables. I think that would make customizing the infoboxes a heck of a lot easier. If anyone is interested, feel free to submit your suggestions, or sample code here.
