<artikkel xmlns="" spraak="en">
<tittel>Printer-friendly pages</tittel>
<forfatter>havardda</forfatter>
<sammendrag>Infoweb doesn't need 'printer-friendly pages', as other sites often do. </sammendrag>
<lenker>
<ekstern tittel="W3C css info. A good starting-point for general info" uri="http://w3.org/Style/CSS/" />
<ekstern tittel="How to specify different media types in HTML" uri="http://www.w3.org/TR/REC-CSS2/media.html" />
<ekstern tittel="Allowed css media types" uri="http://www.w3.org/TR/REC-CSS2/media.html" />
</lenker>
<hoveddel>
<os2>Short explanation</os2>
<avsnitt>When you find a site you'd like to print out, you may be used to look for <uthev>printer-friendly pages</uthev>.
In Infoweb <uthev>that's not necessary</uthev>. By using <infoweb aid="444" tittel="CSS">css</infoweb> we've made sure that your browser only prints out what's important. </avsnitt>
<avsnitt>
Conclusion: print out an Infoweb article, just make use of your standard print commands, and the browser will take care of the rest.
</avsnitt>
<os2>Technical explanation</os2>
<avsnitt> Using CSS
<fotnote><uthev>CSS:</uthev> <trykk>Cascading Style Sheets</trykk>. A technology from <ekstern uri="http://w3.org/" tittel="W3C er et organ som står bak mange av teknologiene på nettet, f.eks. html, css, xml etc">w3c</ekstern> - who's also behind <ekstern uri="http://w3.org/TR/html401/" tittel="W3C HTML sider">html</ekstern>.</fotnote>
it's possible to state which medium you want to define the appearance of.<br />
This way, you can have different styles for different medias, e.g. you're viewing your web page from a
browser and a tv-set:
<kode tittel="Two different stylesheets">
<tegn symbol="lt" />link href="stilsett_vanlig.css" media="screen"<tegn symbol="gt" />
<tegn symbol="lt" />link href="stilsett_tv.css" media="tv"<tegn symbol="gt" />
</kode>
</avsnitt>
<avsnitt>
By creating a specific style sheet with <trykk>media="print"</trykk>, we are thus able to instruct the browser
<uthev>which elements</uthev> we want it to print, and <uthev>how we want them to look</uthev>. This is a technique that works
on the following browsers:
</avsnitt>
<ul>
<li>Internet Explorer higher than 5</li>
<li>Mozilla higher than 1</li>
<li>Opera higher than 4</li>
<li>Konqueror higher than 3</li>
</ul>
<avsnitt>
If you have any feedback, please send us a <epost adresse="infoweb-dev@orakel.ntnu.no">mail</epost>.
</avsnitt>
</hoveddel>
</artikkel>