Шаблон:Test3 — различия между версиями

Материал из Integra-S Wiki
Перейти к: навигация, поиск
Строка 1: Строка 1:
<html> <head> <title>CSS позиционирование</title> </head> <body> <table width="715" border="1" align="center" cellspacing="0" cellpadding="10"> <tr bgcolor="darkred"> <td colspan="2" height="100">шапка сайта</td> </tr> <tr bgcolor="oldlace"> <td width="190" height="300">меню</td> <td>контент</td> </tr> <tr bgcolor="darkred"> <td colspan="2" height="30">низ сайта</td> </tr> </table> </body> </html>
+
#header{ background:darkred; width:715px; height:100px; } #menu{ background:oldlace; width:190px; height:300px; } #content{ background:oldlace; width:525px; height:300px; position:absolute; left:190px; top:100px; } #footer{ background:darkred; width:715px; height:30px; }

Версия 18:55, 26 октября 2017

  1. header{ background:darkred; width:715px; height:100px; } #menu{ background:oldlace; width:190px; height:300px; } #content{ background:oldlace; width:525px; height:300px; position:absolute; left:190px; top:100px; } #footer{ background:darkred; width:715px; height:30px; }