News for hackers. Stuff that matters.
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by rlm on Friday March 07, 2008 @01:00PM (#131349)
How to make it look the same in IE (6, 7 and now 8), FF (2 and 3), Opera and Safari...
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by cstef on Saturday March 08, 2008 @02:13PM (#132076)
I'm giving a second to the cross-browser compatibility.
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by bouncingsoul on Friday March 07, 2008 @12:35PM (#131320)
* The box model. Specifically how padding doesn't behave like most people expect. Be sure to include or point to a good illustration.

* The difference between inline and block display of elements – and how you can change them with css.

Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by boucher on Friday March 07, 2008 @12:50PM (#131341)
I've seen a lot of people fail to grasp the specifics of float.
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by enomar on Friday March 07, 2008 @12:48PM (#131338)
Simulating table based layouts without tables (before there were frameworks for it).
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by m0nty on Saturday March 08, 2008 @06:42AM (#131909)
Why not start off with how to use Blueprint CSS (http://code.google.com/p/blueprintcss/) and then show how to extend it? Blueprint gets the basics very right indeed, and allows your readers to become productive quickly. Then you can move on to how to create your own page elements, how to modify Blueprint, etc.

WRT your question, when I was building my own tiny websites I couldn't understand how CSS would help me be productive. The larger the sites, of course, the more obvious that became.

Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by exiquio on Monday March 10, 2008 @11:26AM (#133172)
I believe the hardest thing about learning XHTML and CSS besides having to make things work across various browsers is avoiding the HTML soup, dated HTML practices such as the use of tables, and CSS hacks. I think it would be best to learn according to the current W3C standards which would enable one to have a stable foundation when swimming through content.
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by jgrahamc on Friday March 07, 2008 @02:22PM (#131414)
Page layout using DIVs... of course, you could always use TABLEs :-)
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by edw519 on Friday March 07, 2008 @11:48AM (#131271)
The differences in the DOM of IE and Mozilla.
Re:Ask YC: What was the hardest thing to learn in HTML and CSS? by drewp on Saturday March 08, 2008 @04:16PM (#132142)
position: absolute vs relative

I've had to look up the rules several times now for how the parent box is chosen. I still don't know if I'm making more intermediate divs than I have to.