young_nick said:
Which CMS are you using?
Drupal. I really like Drupal in every way except theming. Theming is not their strong point. In order to change the output, you have to go into the module core code, find the function that's producing the HTML, copy it to a separate file, and rename it along specific guidelines, and place that in your default theme directory. And God forbid there are multiple modules producing your page layout. XOOPS was great for theming, they used smarty tags, so all the theming was separate from the core code, it was awesome. But they suck in just about every other way, so it's a give a take, you have to weigh your priorities.