Основы работы с XHTML и CSS


Example.6.35


.DIV {position:relative; width:300px; height:160px; border:dotted 1}

.RED {position:absolute; width:100px; height:100px; left:0px; top:0px;

background-color:red; border:solid 1px white; color:white;

z-index:1; text-align:right}

.GREEN {position:absolute; width:100px; height:100px; left:50px; top:25px;

background-color:green; border:solid 1px white; color:white;

z-index:2; text-align:right}

.BLUE {position:absolute; width:100px; height:100px; left:100px; top:50px;

background-color:blue; border:solid 1px white; color:white;

z-index:3; text-align:right}

Red

Green

Blue




Начало  Назад  Вперед