Andrew Mills wrote:
Q: What kind of gooseberry fool can you do with CSS these days? I'm still using tables to layout my iPhone guides in a WebView (it works
), but I get the feeling that using CSS (and perhaps getting to grips with XML) would be 'advantageous' to my business.
So just how
funky is CSS?
Going from tables to CSS is like listening to Kula Shaker for a while, but then wising up and putting on James strawberry floating Brown instead.
Tables are fine for tabular data (always have been) but should never be used for layout as they're semantically totally inappropriate and generate huge amounts of unnecessary markup fairly quickly. Learning to use CSS well is not just about figuring out how to style things, you should appreciate how it relates to clean markup too. Avoiding div soup
is a nice short article that explains the idea.
Less code = less load. Might make your apps run faster too. Whoo