.


:




:

































 

 

 

 


3. CSS




  1. html-, 2. CSS. : (), (), (). CSS. , , , .
  2. ( ) : (, ), ( ), (-).
  3. . , , , .
  4. ( background-color).
  5. , . ‑ color, font : font-family, font-size, font-style, font-variant, font-weight, line-heigh.
  6. letter-spacing, , .
  7. text-indent , , .
  8. text-transform . .
  9. word-spacing . .
  10. l ist-style-image, ( ).
  11. , .
  12. (:link,:visited,:hover,:active).
  13. , ( margin), ( padding). ( border, border-color, border-width border-style).
  14. . , <div>. . .. Web , . 94-95.

1. css.

top
left-side center
footer

<html>

<head>

<style>

#left-side {

float:left;

width:200px;

}

#center {

margin-left:200px;

}

#footer {

clear:both;

}

</style>

</head>

<body>

<div id="top">

</div>

<div id="content">

<div id="left-side"></div>

<div id="center"></div>

</div>

<div id="footer">

</div>

</body>

</html>

2. css.

top
left-side center right-side
footer

<html>

<head>

<style>

#left-side {

float:left;

width:200px;

}

#wrapper {

margin-left:200px;

background-color: yellow;

}

#right-side {

float:right;

width:200px;

}

#center {}

#footer {

clear:both;

}

</style>

</head>

<body>

<div id="top"> top

</div>

<div id="content">

<div id="left-side"> left-side </div>

<div id="wrapper">

<div id="right-side"> right-side </div>

<div id="center"> center </div>

</div>

</div>

<div id="footer"> footer

</div>

</body>

</html>

  1. .

http://validator.w3.org/unicorn

  1. ( ).
  2. . , DreamWeaver.
  3. http://www.csszengarden.com/tr/russian/. , CSS. . , . html- css- . , . . , CSS .

:

:

 

  1. . . .. Web , . 95.

3. .

<html>

<head>

<title> </title>

<style>

.b1,.b2,.b3,.b4,.b5,

.b1 i,.b2 i,.b3 i,.b4 i,.b5 i,

.b1 b,.b2 b,.b3 b,.b4 b,.b5 b,

.b1 q,.b2 q,.b3 q,.b4 q,.b5 q {

height: 1px;

font-size: 1px;

overflow: hidden;

border-style: solid;

border-width: 0 1px;

display: block;

}

.b1 {

margin: 0 2px;

background: #EBEEF0;

border: none;

}

.b1 b {

margin: 0 1px;

background: #B8C3C8;

border-color: #CBD3D7;

}

.b2 {margin: 0 1px; border-color: #D6DCDF;}

.b2 b {border-color: #B8C3C8;}

.b2 i {border-color: #E4E8EA;}

.b2 q {border-color: #F7F8F9;}

.b3 {border-color: #EBEEEF;}

.b3 b {border-color: #BCC6CB;}

.b3 i {border-color: #F9FAFB;}

.b4 {border-color: #CAD2D6;}

.b4 b {border-color: #E5E9EB;}

.b5 {border-color: #B5C0C6;}

.b5 b {border-color: #FAFBFB;}

.text {

border: 1px solid #B0BCC2;

border-width: 0 1px;

padding: 0 12px;

}

</style>

</head>

<body>

<div class="b1"><b></b></div>

<div class="b2"><b><i><q></q></i></b></div>

<div class="b3"><b><i></i></b></div>

<div class="b4"><b></b></div>

<div class="b5"><b></b></div>

<div class="text">

, .

</div>

<div class="b5"><b></b></div>

<div class="b4"><b></b></div>

<div class="b3"><b><i></i></b></div>

<div class="b2"><b><i><q></q></i></b></div>

<div class="b1"><b></b></div>

</body>

</html>

  1. .

http://validator.w3.org/unicorn

  1. ( ).
  2. . , , , : , afn.by

<a href= http://www.afn.by/>

<ima stc= http://www.afn.by/finances/ticket/>

border=0/> </a>

  1. .
  2. .




:


: 2016-07-29; !; : 833 |


:

:

.
==> ...

1365 - | 1203 -


© 2015-2024 lektsii.org - -

: 0.017 .