Speelgoedmannetje wrote:
oh, and if there's something dirty, it's webdesign, especially by 'hand'...
I disagree. Looking at the code generated by WYSIWIG editors is terrifying. The amount of unnecessary crap that get added to code is just amazing! Efficiently coding the site by hand is much cleaner IMO. I like to write my web sites/apps in PHP in the following structure:
require('header.php');
//Content of page
require('footer.php');
?>
The header and footer pages contain content which is common to all pages, and the header also sets up variables for things like fonts, colours etc. Then when I want to use a standard style element from the site's theme I just echo the appropriate variable. If I want to modify the site's theme I just change the value of the variable in the header and it changes on all pages. Voila! CSS without CSS! :-D
I think that's pretty clean :-)
--
moto