Controlling the border with CSS

October 2, 2009 |  by Rabi Shrestha
8f409af1d10aa30a98ab63d16808b417 Del.icio.us

border
We can customize the borders around the image , text and tables using the CSS.We can have absolute control over the page’s layout.The features like colour , size and width of four sides(top, bottom,left, right) can be customized as per our requirement.
Here , we are discussing on customizing the border around a text using CSS.

Example:
code:

<!--
<p class="tborder"><br />"Man and MOON"<br /><br />
<style>
.tborder{
    border-style:solid;
    border-top-color:rgb(170, 204, 255);
    border-bottom-color:rgb(16, 92, 182);
    border-left-color:rgb(128, 182, 42);
    border-right-color:rgb(128, 182, 149);
    border-width:20px;
    border-top-width:10px;
    border-left-width:10px;
       }
</style>
-->


No Comments


Trackbacks

  1. Design Gala

Leave a Reply