Posted 15 May 2008 - 06:30 AM
OK, so I've eaten about a dozen CSS manuals and topped it off with a few HTML handbooks for good measure, so I get the basics. My question is relatively simple.
I'm currently coding my first website and am largely using specific element ID's or small Divs for maximum control of the design and it's really starting to take shape, but given the amount of code I'm generating I'm beginning to wonder if there is a better way. Does anyone have experience of grouping seemingly random elements into classes that make sense? I'm starting to realise that even though I'm using an external stylesheet the end result may be a sheet larger than the rest of the site and it's a bit of a worry as I don't know at what point this would start to affect performance. If anyone has any thoughts on this type of issue I'd appreciate it.