I am a developer and am comfortable with java, javascript, and HTML (well, not meta tags), but I consider layout using CSS to be deep voodoo. I understand the box model, but I lack a deep understanding of how to layout a page, especially in a cross platform manner including mobile browsers. Is there a good tutorial out there that explains modern layout techniques? I don’t like leaving all the layout tasks to our other developer.
Check out the “Head First” book on learning HTML and CSS. I thought it did a pretty good job of explaining basic CSS, with some good examples to work through.
The best way is to learn at W3School site. It also provides online demo and online template to do practical practice. Check out in Google W3school and in that you can go to CSS Section to learn all the basics.
Can you elaborate? I looked at those sites and some of them had a bunch of articles that don’t talk about CSS. The other sites had fancier videos and animated tutorials but still taught basically the same thing as w3schools.
So I read that and it doesn’t really say anything except “w3schools might sometimes have mistakes, isn’t officially from the W3C, and isn’t a wiki.”
That applies to the other sites you linked to, too. And they don’t mention any of the actual mistakes, and imply that it’s mostly with out-of-date HTML5 content – a standard which isn’t even finalized and universally supported yet. And that’s still not CSS, which is what the OP asked about.
What do you dislike about it? Got any better cites?