Saturday, 1 June 2013
0
Set the color of an Outline and Set The Width of an Outline
<html>
<head>
<style type="text/css">
p
{
border: red solid thin;
outline-style: solid;
outline-color: #00ff00
}
</style>
</head>
<body>
<p>Some text.</p>
</body>
</html>
(does not work in IE)
Set the width of an outline
<html>
<head>
<style type="text/css">
p.one
{
border: red solid thin;
outline-style: solid;
outline-width: thick
}
p.two
{
border: red solid thin;
outline-style: solid;
outline-width: 2px
}
</style>
</head>
<body>
<head>
<style type="text/css">
p
{
border: red solid thin;
outline-style: solid;
outline-color: #00ff00
}
</style>
</head>
<body>
<p>Some text.</p>
</body>
</html>
(does not work in IE)
Set the width of an outline
<html>
<head>
<style type="text/css">
p.one
{
border: red solid thin;
outline-style: solid;
outline-width: thick
}
p.two
{
border: red solid thin;
outline-style: solid;
outline-width: 2px
}
</style>
</head>
<body>
Subscribe to:
Post Comments (Atom)
0 Responses to “Set the color of an Outline and Set The Width of an Outline ”
Post a Comment