Jitendra Vyas
Jitendra Vyas

Reputation: 152677

Should we put print css at bottom?

Would it be better if we put print css at bottom just before </body> like yahoo's recommendation for js because only few people will take print and if we will put at bottom then it will be accessed after screen.css and html.

Upvotes: 1

Views: 129

Answers (2)

Mattias Jakobsson
Mattias Jakobsson

Reputation: 8237

It will actually make your site render faster in most browsers. But the user will feel like its rendering slower. And in IE nothing will render until the stylesheet is downloaded and parsed. So, you should put it at the top (inside the <head /> tag). If you read yahoo's recommendations that is what they say about stylesheets.

Upvotes: 3

Tor Valamo
Tor Valamo

Reputation: 33749

No. Stylesheets will not block downloading like scripts will.

It's wrong in so many ways to put styles in the body.

Upvotes: 5

Related Questions