1 / 10

CSS Stylesheets

CSS Stylesheets. Projekt Vollpension Romi Klockau 15.01.04. CSS Stylesheets. direkt im HTML (head-Bereich) eingebunden < HTML>             <HEAD>                 <STYLE type="text/css">                 <!--                 B { font-family: Verdana; font-color: green;}

Télécharger la présentation

CSS Stylesheets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSS Stylesheets Projekt Vollpension Romi Klockau 15.01.04

  2. CSS Stylesheets direkt im HTML (head-Bereich) eingebunden <HTML>             <HEAD>                 <STYLE type="text/css">                 <!--                 B { font-family: Verdana; font-color: green;}                 -->                 </STYLE>             </HEAD>

  3. CSS Stylesheets in einer externen Datei <HTML>             <HEAD>                 <LINK rel="stylesheet" type="text/css" href="standard.css">             </HEAD>

  4. CSS Stylesheets als Tag-Attribut (Inline-Notation) <b style="font-family: Verdana; font-color: green;">Irgendein Text</b>

  5. CSS Stylesheets Syntax: fast immer aus drei Teilen SELECTOR {EIGENSCHAFT:WERT1} B { font-family: Verdana; font-color: green;}

  6. CSS Stylesheets .gruen {font-color: green;} .grossertext { font-size: 40pt;}

  7. CSS Stylesheets <b class="gruen">Das ist ein grüner Text!</b> <b class="grossertext">Ein grosses A</b> <b style="font-color: green;">Das ist ein grüner Text!</b>

  8. CSS Stylesheets Beispiele: Schriftart: <span style="font-family: Verdana, Arial;">Formatierter Text</span> Schriftgröße: <span style="font-size: 10 pt;">Formatierter Text</span> <span style="font-size: small;">Formatierter Text</span> Schriftfarbe: <span style="color: green;">Grüner Text</span> <span style="color: #000000;">Schwarzer Text</span> Schriftstil: <span style="font-style: italic;">Kursiver Text</span>

  9. CSS Stylesheets Positionierung: <div style="position:absolute;left: 20px; top:300px;">          Text         </div> Größe eingefügter Objekte: <div style="height: 20px; width: 100px;">         Text         </div>

  10. CSS Stylesheets div style="visibility:hidden;">         Versteckter Text         </div> Danke.

More Related