HTML/CSS/CSS Attributes and Javascript Style Properties/border left style — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
м (1 версия)
 
(нет различий)

Версия 09:20, 26 мая 2010

"border-left-style" Example

    
<html>
<head>
<style>
.style1 { 
    border:5px solid #cccccc; 
    border-left-style:dashed; 
    font-family:verdana; 
    font-weight:bold
}
.style2 { 
    border:"none"; 
    font-family:verdana; 
    font-weight:bold 
}
</style>
</head>
<body>
Move mouse in and out to see the style change.
<div style="width:230; 
            height:100; 
            background-color:beige"
     onmouseover="this.className="style1""
     onmouseout="this.className="style2"">
     
     This is a div element.
     
     
</div>
</body>
</html>



border-left-style: inset

 
<!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">
    <head>
        <title>border</title>
        <style rel="stylesheet" type="text/css">
div#border-style-properties {
    border-left-style: inset;
}
        </style>
    </head>
    <body>
        <div id="border-style-properties">
            Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
        </div>
    </body>
</html>