As I was reading “How To Clear Floats Without Structural Markup” at Position is Everything I started to wonder what is happening with CSS at the moment?
<div style="clear:both;"></div> into our code?
Presenting these ideas as new ways of doing things – pushing the envelope, so to speak – is great and I applaud those who do so. However, I have to wonder when these workarounds are presented as the best practice way of doing things.
Thanks, but I’ll keep to my old-fashioned non-structural method, and try to keep my CSS file under 1MB (slight exaggeration for effect, but my CSS files are getting super-complex these days).
The backlash against the ‘fanaticism’ about keeping style and content separate has been well documented elsewhere, but as a web designer under the usual time pressures and issues about handing code off to others to maintain, I am starting to grow weary of this dogmatic approach to web design.
I, for one, am starting to rethink how I use CSS (and the extent to which I do) – who knows, after Dave Shea’s recent post (and those of others) I may go back to using tables to lay out my sites – it certainly would be nice to cut 25% off my development and testing time!