Thursday, September 09, 2010

How to hide page elements while printing

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <style type="text/css" media="print">
        #topNavigation { display:none; }
        #footer { display:none; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="topNavigation">
            Top Navigation
        </div>
        <div id="content">
            Content
        </div>
        <div id="footer">
            Footer
        </div>
    </div>
    </form>
</body>
</html>

No comments:

Azure Storage Account Types

Defferent Types of Blobs Block blobs store text and binary data. Block blobs are made up of blocks of data that can be managed individually...