Honlapkészítés Egyeteme/4.rész – Elemek, osztályok, azonosítók, dobozolás/border

A keret / border stílusához a következő tulajdonságokat párosíthatjuk: dotted (pöttyözött), dashed (szaggatott), solid (sima), double (dupla vonalú), groove (árok), ridge (hegygerinc), inset (beékelt), outset (kezdet).


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head> <title>this is the title of the web page</title>

<style type="text/css">

p.dotted {border-style: dotted;}

p.dashed {border-style: dashed;}

p.solid {border-style: solid;}

p.double {border-style: double;}

p.groove {border-style: groove;}

p.ridge {border-style: ridge;}

p.inset {border-style: inset;}

p.outset {border-style: outset;}

</style>

</head>

<body>

<p class="dotted"> This paragraph has a "dotted" style border. </p>

<p class="dashed"> This paragraph has a "dashed" style border. </p>

<p class="solid"> This paragraph has a "solid" style border. </p>

<p class="double"> This paragraph has a "double" style border. </p>

<p class="groove"> This paragraph has a "groove" style border.</p>

<p class="ridge"> This paragraph has a "ridge" style border. </p>

<p class="inset"> This paragraph has an "inset" style border. </p>

<p class="outset"> This paragraph has an "outset" style border. </p>

</body>

</html>

[1]