Draw border in CSS

Sourav.Kayal
Posted by Sourav.Kayal under CSS 3 category on | Points: 40 | Views : 924
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="csstest.aspx.cs" Inherits="csstest" %>

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

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
p.one
{
border-style:solid;
border-width:5px;
}
p.two
{
border-style:solid;
border-width:medium;
}
p.three
{
border-style:solid;
border-width:1px;
}
</style>



</head>
<body>
<form id="form1" runat="server">
<div>
<p class="one">Text with border</p>
<p class="two">Text with border...</p>
<p class="three">Text with border</p>
</div>
</form>
</body>
</html>

Comments or Responses

Login to post response