开发者

What HTML/CSS markup paradigm do you believe is the best to use now?

I know there are various different ways to structure the markup for an HTML document styled with CSS.

The ones I know of are:

  • Floating layouts
  • Table-based layouts

I mostly use floating layouts with various different semantic containers (try to avoid div soup.)

However, I also know I don开发者_运维百科't know that much about the various different ways one can structure an HTML document and apply CSS rules. I also have no idea which paradigm is best considering the emerging technologies of HTML5/CSS3 and the rendering engines on mobile/tablet devices.

Could someone with a lot more knowledge than me on the subject advise as to the best way to go currently? Or the best book to purchase?


Could someone with a lot more knowledge than me on the subject advise as to the best way to go currently?

The best way to go is to learn about the technology. CSS layouts are beautifully explained in chapters 9 and 10 of the CSS 2.1 spec.

http://www.w3.org/TR/CSS21/visuren.html
http://www.w3.org/TR/CSS21/visudet.html

Take the time to read trough it. Once you've done that, you should have complete understanding of CSS lay-outing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜