<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Fixierte Positionierung - Cascading Style Sheets - Workshop Internet-Präsenz</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="DE" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="description" content="Übung Cascading Style Sheets. Fixierte Positionierung" /> <meta name="keywords" content="HTML, Cascading Style Sheets" /> <meta name="author" content="Roland Unger" /> <style type="text/css"> <!-- .navigation { border-right: 1px solid #c0c0c0; background: #fff0e0; padding: 1%; position: fixed; top: 0; left: 0; width: 18%; height: 100%; overflow: hidden; } .kopf { border-bottom: 1px solid #c0c0c0; background: #ffffee; padding: 1%; position: fixed; top: 0; left: 20%; width: 78%; height: 13%; overflow: hidden; } .fuss { border-top: 1px solid #c0c0c0; background: #ffffee; padding: 1%; position: fixed; bottom: 0; left: 20%; width: 78%; height: 13%; overflow: hidden; } .inhalt { padding: 0; position: fixed; top: 16%; left: 20%; width: 80%; height: 68%; overflow: auto; } h1 { margin: 0; } .inhalt > * { margin-left: 1%; margin-right: 1%; } --> </style> </head> <body> <div class="kopf"> <h1>Workshop Internet-Präsenz</h1> </div> <div class="inhalt"> <h2>Fixierte Positionierung - Cascading Style Sheets</h2> <p>Mit Hilfe der fixierten Positionierung positionieren Sie Boxen an einer festen Stelle auf dem Ausgabebereich, unabhängig vom tatsächlichen Inhalt. Das Aussehen ähnelt einem Bildschirmaufbau mit dem frameset-Konstrukt. Die Angabe fixed wird vom Internet Explorer nicht unterstützt.</p> <pre>Große Freifläche </pre> <p>Hier ist der Text zu Ende.</p> </div> <div class="fuss">Informationen im Fußbereich</div> <div class="navigation">Links etc. zur Navigation</div> </body> </html>