Bloggink

Blog of Joggink, home of Jochen Vandendriessche

Category: css

Mobile development

As the mobile market continues to grow, it is essential for us, web developers, to make sure our stuff works on all platforms. As I was previously wondering how most of you are testing cross browser experience, I’m now curious to know if you test for mobile devices, and if so, what tools do you [...]

Saving a HTTP request by combining screen and print styles

Instead of defining two stylesheet links in your head tag, you can define one and for screen & print styles and divide the different styles in the one stylesheet.

@media screen {
body { font-size:14px; }
}

@media print {
body { font-size:10pt; }
h1, h2, h3 { page-break-after:avoid; }
}

Read the full article at the blog of Geert De Deckere