<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"><html><head><title>A Frame Document with CSS2</title><style type="text/css">body { height: 8.5in } /* Required for percentage heights below */ #header { position: fixed; width: 100%; height: 15%; top: 0; right: 0; bottom: auto; left: 0; background: black color: white; } #sidebar { position: fixed; width: 10em; height: auto; top: 15%; right: auto; bottom: 100px; left: 0; background: lightgrey; } #main { position: fixed; width: auto; height: auto; top: 15%; right: 0; bottom: 100px; left: 10em; } #footer { position: fixed; width: 100%; height: 100px; top: auto; right: 0; bottom: 0; left: 0; background: darkgrey; color:white; }</style></head><body><div id="header">...</div><div id="sidebar">...</div><div id="main">...</div><div id="footer">...</div></body></html>
Dieser Text ist der Zeitschriften-Ausgabe 04/2003 von iX entnommen.
iOS, Android, Windows Phone 7 und HTML5 - das neue Sonderheft von heise Developer führt Einsteiger und Profis in die Programmierung mobiler Geräte ein.