Hacker News new | past | comments | ask | show | jobs | submit login

OK, so what about what the new elements do for CSS? Won't style sheets be more portable now that we have <aside>, <article>, etc.?



Unless new features are added to CSS, I suspect <aside> and <article> will behave exactly like <div>s do today.


Right now a CSS file for one site won't work for another. With HTML5, sometimes it will. I find that a little exciting. Imagine portable themes.


Sure, that's exciting. But imagine designers not having to test in every browser for rendering bugs. Imagine testing in one browser and being sure it was going to work for everybody, just as fast, and look just as good. I think it'd be a huge, huge step forward. After that, HTML5 all the way!


Uhm? Maybe you mean "unless browseres have predefined CSS rules for new elements"?


No, I don't mean that. If you want to have a design work across different browsers, one of the first things you have to do is find a common baseline. This is where things like reset.css come in, which overrides many predefined styles.

I'll try re-wording my post:

I suspect <aside> and <article> will have the same styling possibilities as any other block level element for a particular version of CSS.


In this case, they do. As do <foo> and <bar> and any other element you can come up with.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: