Re: Rant
Nobody forces you to supply different themes (i.e. alternate stylesheets), but for once with CSS you can change the layout in an alternate stylesheet without touching the HTML (i.e. no need for new templates), you can change an existing layout more easily and you can do a redesign more easily (because you don't have to edit the HTML for anything but new classes and IDs -- and even that isn't usually required).
The funny thing is I stopped using templates a couple of months ago because it didn't make any sense anymore. If the entire styling is done in CSS, there's no need for complex markup. The best choice would be generating the markup dynamically (i.e. object oriented rather than just echoing HTML snippets), but OOP in PHP (or at least in PHP4) is too slow for that. I'm thinking about running compiled C++ programs via PHP in order to generate the markup right now, even.
Odin said:DarkUnderlord said:Honestly, check out the http://www.csszengarden.com and check out some of the designs (View >> Source and see the lack of layout code in the HTML file)
Damn that's a clean code, perhaps I gotta look into this a little further. Right now I'm learning php/mysql stuff, it funny to think that I only knew basic HTML code when I first started here on NMA..
The use of schemes is something I consider a hype tho, really are there that many people here that consider it soooo uberkewl that a site has different schemes ? Sure a totally different scheme, ala new design is right on but just plain different colors ala RPGcodex (no offense to them tho) is just lame IMO..
Nobody forces you to supply different themes (i.e. alternate stylesheets), but for once with CSS you can change the layout in an alternate stylesheet without touching the HTML (i.e. no need for new templates), you can change an existing layout more easily and you can do a redesign more easily (because you don't have to edit the HTML for anything but new classes and IDs -- and even that isn't usually required).
The funny thing is I stopped using templates a couple of months ago because it didn't make any sense anymore. If the entire styling is done in CSS, there's no need for complex markup. The best choice would be generating the markup dynamically (i.e. object oriented rather than just echoing HTML snippets), but OOP in PHP (or at least in PHP4) is too slow for that. I'm thinking about running compiled C++ programs via PHP in order to generate the markup right now, even.