.


:




:

































 

 

 

 


3.




<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" ><title> </title><style type="text/css" > #leftcol { position: relative; /* */ float: left; /* */ width: 400px; /* */ background: #800000; /* */ color: white; /* */ } #rightcol { position: relative; /* */ float: left; /* */ left: -50px; /* */ top: 50px; /* */ width: 120px; /* */ background: #e0e0e0; /* */ border: solid 1px black; /* */ } #leftcol P { padding: 10px; /* */ padding-right: 50px; /* */ margin: 0; /* */ } #rightcol P { padding: 10px; /* */ padding-top: 0 /* */ } </style></head><body><div id="leftcol" ><p> </p></div><div id="rightcol" ><p> </p></div></body></html>

 

(. 3).

. 3.

div . , . , , class id .

align - div.

title- div , , .

: , . , , .

<html>

<head>

<title> DIV</title>

<style type="text/css">

.block1 {

width: 350px;

background: #ccc;

padding: 55px;

padding-right: 70px;

border: dashed 1px black;

float: left;

text-align:justify;

}

.block2 {

width: 350px;

background: #fc0;

padding: 5px;

padding-left: 10px;

border: solid 1px black;

float: left;

position: relative;

top: 40px;

left: -70px;

visibility:visible;

}

</style>

</head>

<body>

<div class="block1"><p>

div . , . , , class id .</p>

</div>

<div class="block2">

<p align="left">

<b>:</b><br>

<var>align</var> - div.<br>

<var>title</var>- div , , .

</p>

</div>

</body></html>

 





:


: 2017-03-12; !; : 252 |


:

:

.
==> ...

1897 - | 1677 -


© 2015-2024 lektsii.org - -

: 0.01 .