Different -1

Different Different -1- Different -2- Different -3- Different -4-

FCFB

<< Cavlim New`s >>
CSS Programing for Web.
live Streaming Project
----------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

table, td, th {

    border: 1px solid black;

}

 

table {

    border-collapse: collapse;

    width: 100%;

}

 

td {

    height: 50px;

    vertical-align: bottom;

}

</style>

</head>

<body>

 

<h2>The vertical-align Property</h2>

<p>This property sets the vertical alignment (like top, bottom, or middle) of the content in th or td.</p>

<table>

  <tr>

    <th>Firstname</th>

    <th>Lastname</th>

    <th>Savings</th>

  </tr>

  <tr>

    <td>Peter</td>

    <td>Griffin</td>

    <td>$100</td>

  </tr>

  <tr>

    <td>Lois</td>

    <td>Griffin</td>

    <td>$150</td>

  </tr>

  <tr>

    <td>Joe</td>

    <td>Swanson</td>

    <td>$300</td>

  </tr>

  <tr>

    <td>Cleveland</td>

    <td>Brown</td>

    <td>$250</td>

</tr>

</table>

 

</body>

</html>

-----------------------------------------------

 

 

p.groove {border-style: groove;}

p.ridge {border-style: ridge;}

p.inset {border-style: inset;}

p.outset {border-style: outset;}

p.none {border-style: none;}

p.hidden {border-style: hidden;}

p.mix {border-style: dotted dashed solid double;}

</style>

</head>

<body>

 

<h2>The border-style Property</h2>

<p>This property specifies what kind of border to display:</p>

 

<p class="dotted">A dotted border.</p>

<p class="dashed">A dashed border.</p>

<p class="solid">A solid border.</p>

<p class="double">A double border.</p>

<p class="groove">A groove border.</p>

<p class="ridge">A ridge border.</p>

<p class="inset">An inset border.</p>

<p class="outset">An outset border.</p>

<p class="none">No border.</p>

<p class="hidden">A hidden border.</p>

<p class="mix">A mixed border.</p>

 

</body>

</html>

 

----------------------

 

 

<!DOCTYPE html>

<html>

<head>

<style>

div {

    border: 1px solid black;

    margin-top: 100px;

    margin-bottom: 100px;

    margin-right: 150px;

    margin-left: 80px;

    background-color: lightblue;

}

</style>

</head>

<body>

 

<h2>Using individual margin properties</h2>

 

<div>This div element has a top margin of 100px, a right margin of 150px, a bottom margin of 100px, and a left margin of 80px.</div>

 

</body>

</html>

 

-------------------

 

 

 

 

<!DOCTYPE html>

<html>

<head>

<style>

body {

    background-color: lightblue;

}

 

h1 {

    color: white;

    text-align: center;

}

 

p {

    font-family: verdana;

    font-size: 20px;

}

</style>

</head>

<body>

<h2>my love cavlim Video Chat and more & Cameras</h2>

<h1>My 140 CSS Example</h1>

<p>This is a paragraph.</p>

 

</body>

</html>

 

<!DOCTYPE html>

<html>

<head>

<style>

p {

    color: red;

    text-align: center;

}

</style>

</head>

<body>

 

<p>Hello World! Welcome to Cavlim Live Streaming</p>

<p>Live Streaming International from NorthSea</p>

 

</body>

</html>

 

<!DOCTYPE html>

<html>

<head>

<link rel="stylesheet" type="text/css" href="mystyle.css">

</head>

<body>

 

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

 

</body>

</html>

 

 

 

<!DOCTYPE html>

<html>

<body>

 

<h2>Color Names Examples</h2>

<p>Note: You will learn more about the background-color and the color property later in our tutorial.</p>

 

<h2 style="background-color:red">

Red background-color

</h2>

 

<h2 style="background-color:green">

Green background-color

</h2>

 

<h2 style="background-color:blue;color:white">

Blue background-color and white text color

</h2>

 

<h2 style="background-color:orange">

Orange background-color

</h2>

 

<h2 style="background-color:yellow">

Yellow background-color

</h2>

 

<h2 style="background-color:cyan">

Cyan background-color

</h2>

 

<h2 style="background-color:black;color:white">

Black background-color and white text color

</h2>

 

</body>

</html>

<!DOCTYPE html>

<html>

<head>

<style>

body {

    background-color: lightblue;

}

</style>

</head>

<body>

 

<h1>Hello World!</h1>

 

<p>This page has a light blue background color!</p>

 

</body>

</html>

 

 

<!DOCTYPE html>

<html>

<head>

<style>

div {

    border: 1px solid black;

    background-color: lightblue;

    padding-top: 50px;

    padding-right: 30px;

    padding-bottom: 50px;

    padding-left: 80px;

}

</style>

</head>

<body>

 

<h2>Using individual padding properties</h2>

 

<div>This div element has a top padding of 50px, a right padding of 30px, a bottom padding of 50px, and a left padding of 80px.</div>

 

</body>

</html>

 

----------------------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

div {

    height: 172px;

    width: 72%;

    background-color: powderblue;

}

</style>

</head>

<body>

 

<h2>Set the height and width of an element</h2>

 

<p>This div element has a height of 172px and a width of 72%:</p>

 

<div></div>

 

</body>

</html>

 

----------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

div {

    height: 72px;

    width: 472px;

    background-color: powderblue;

}

</style>

</head>

<body>

 

<h2>Set the height and width of an element</h2>

 

<p>This div element has a height of 72px and a width of 472px:</p>

 

<div></div>

 

</body>

</html>

------------------------------------------------------------------------------------------------

Freie Christen Northsea Privat CSS Programmierung mit CSS von Simon aus Bremerhaven

----------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

div {

    background-color: lightgrey;

    width: 300px;

    border: 25px solid green;

    padding: 25px;

    margin: 25px;

}

</style>

</head>

<body>

 

<h2>Demonstrating the Box Model</h2>

 

<p>The CSS box model is essentially a box that wraps around every HTML element. It consists of: borders, padding, margins, and the actual content.</p>

 

<div>This text is the actual content of the box. We have added a 25px padding, 25px margin and a 25px green border. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>

 

</body>

</html>

-----------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

p {

    border: 1px solid black;

    outline-color:red;

}

p.dotted {outline-style: dotted;}

p.dashed {outline-style: dashed;}

p.solid {outline-style: solid;}

p.double {outline-style: double;}

p.groove {outline-style: groove;}

p.ridge {outline-style: ridge;}

p.inset {outline-style: inset;}

p.outset {outline-style: outset;}

</style>

</head>

<body>

 

<h2>The outline-style Property</h2>

 

<p class="dotted">A dotted outline</p>

<p class="dashed">A dashed outline</p>

<p class="solid">A solid outline</p>

<p class="double">A double outline</p>

<p class="groove">A groove outline</p>

<p class="ridge">A ridge outline</p>

<p class="inset">An inset outline</p>

<p class="outset">An outset outline</p>

<b>Note:</b> IE8 supports the outline properties only if a !DOCTYPE is specified.

 

</body>

</html>

 

--------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

div.ex1 {

    direction: rtl;

}

</style>

</head>

<body>

 

<div>This is default text direction.</div>

<div class="ex1">This is right-to-left text direction.</div>

 

</body>

</html>

 

--------------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<style>

p {

    text-indent: 50px;

}

</style>

</head>

<body>

 

<p>In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since. 'Whenever you feel like criticizing anyone,' he told me, 'just remember that all the people in this world haven't had the advantages that you've had.'</p>

 

</body>

</html>

  http://www.w3schools.com/css/default.asp

 

 

<!DOCTYPE html>

<html>

<head>

<title>Font Awesome Icons</title>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">

</head>

<body>

 

<p>Some Font Awesome icons:</p>

<i class="fa fa-cloud"></i>

<i class="fa fa-heart"></i>

<i class="fa fa-car"></i>

<i class="fa fa-file"></i>

<i class="fa fa-bars"></i>

 

<p>Styled Font Awesome icons (size and color):</p>

<i class="fa fa-cloud" style="font-size:24px;color:lightblue;"></i>

<i class="fa fa-cloud" style="font-size:36px;color:blue;"></i>

<i class="fa fa-cloud" style="font-size:48px;color:red;"></i>

<i class="fa fa-cloud" style="font-size:60px;color:lightblue;"></i>

 

</body>

</html>

---------------------------------------------------------------------------------------------

<!DOCTYPE html>

<html>

<head>

<title>Google Icons</title>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

</head>

<body>

 

<p>Some Google icons:</p>

<i class="material-icons">cloud</i>

<i class="material-icons">favorite</i>

<i class="material-icons">attachment</i>

<i class="material-icons">computer</i>

<i class="material-icons">traffic</i>

<br><br>

 

<p>Styled Google icons (size and color):</p>

<i class="material-icons" style="font-size:24px;">cloud</i>

<i class="material-icons" style="font-size:36px;">cloud</i>

<i class="material-icons" style="font-size:48px;color:red;">cloud</i>

<i class="material-icons" style="font-size:60px;color:lightblue;">cloud</i>

 

</body>

</html>

-------------------------------------------------------------------------------------------------------------

http://www.w3schools.com/css/tryit.asp?filename=trycss_list-style-type_ex

<!DOCTYPE html>

<html>

<head>

<style>

ul.a {

    list-style-type: circle;

}

 

ul.b {

    list-style-type: square;

}

 

ol.c {

    list-style-type: upper-roman;

}

 

ol.d {

    list-style-type: lower-alpha;

}

</style>

</head>

<body>

 

<p>Example of unordered lists:</p>

<ul class="a">

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ul>

 

<ul class="b">

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ul>

 

<p>Example of ordered lists:</p>

<ol class="c">

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ol>

 

<ol class="d">

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ol>

 

</body>

</html>

#################

Example of unordered lists:

  • Coffee
  • Tea
  • Coca Cola
  • Coffee
  • Tea
  • Coca Cola

Example of ordered lists:

  1. Coffee
  2. Tea
  3. Coca Cola
  1. Coffee
  2. Tea
  3. Coca Cola

#######################################################################

<!DOCTYPE html>

<html>

<head>

<style>

ul {

    list-style-image: url('sqpurple.gif');

}

</style>

</head>

<body>

 

<ul>

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ul>

 

</body>

</html>

#####################################

http://www.w3schools.com/css/tryit.asp?filename=trycss_list-style_colors

 

<!DOCTYPE html>

<html>

<head>

<style>

ol {

    background: #ff9999;

    padding: 20px;

}

 

ul {

    background: #3399ff;

    padding: 20px;

}

 

ol li {

    background: #ffe5e5;

    padding: 5px;

    margin-left: 35px;

}

 

ul li {

    background: #cce5ff;

    margin: 5px;

}

</style>

</head>

<body>

 

<h1>Styling Lists With Colors:</h1>

 

<ol>

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ol>

 

<ul>

  <li>Coffee</li>

  <li>Tea</li>

  <li>Coca Cola</li>

</ul>

 

</body>

</html>