Page 88 - Modular_V1.1_Flipbook
P. 88
<P STYLE="BORDER-WIDTH:4PT; BORDER-COLOR:INDIGO; BORDER-STYLE:SOLID;">
THIS IS AN EXAMPLE OF SOLID BORDER WHOSE WIDTH IS 4PT. </P>
<P STYLE="BORDER-WIDTH:0.3CM; BORDER-COLOR:BLUE; BORDER-STYLE:SOLID;">
THIS IS AN EXAMPLE OF SOLID BORDER WHOSE WIDTH IS 0.3CM. </P>
<P STYLE="BORDER-WIDTH:THIN; BORDER-COLOR:GREEN; BORDER-STYLE:SOLID;">
THIS IS AN EXAMPLE OF SOLID BORDER WHOSE WIDTH IS THIN. </P>
<P STYLE="BORDER-WIDTH:MEDIUM; BORDER-COLOR:YELLOW;BORDER-
STYLE:SOLID;">
THIS IS AN EXAMPLE OF SOLID BORDER WHOSE WIDTH IS MEDIUM; </P>
<P STYLE="BORDER-WIDTH:THICK; BORDER-COLOR:ORANGE;BORDER-
STYLE:SOLID;">
THIS IS AN EXAMPLE OF SOLID BORDER WHOSE WIDTH IS THICK. </P>
<P STYLE="BORDER-BOTTOM-WIDTH:4PX;BORDER-COLOR:RED;
BORDER-TOP-WIDTH:10PX;
BORDER-LEFT-WIDTH:2PX;
BORDER-RIGHT-WIDTH:15PX;
BORDER-STYLE:SOLID;">
THIS IS AN EXAMPLE OF SOLID BORDER WITH FOUR DIFFERENT WIDTH. </P>
</BODY>
</HTML>
Changing border width
CSS MARGINS
CSS ‘margin’ properties enables to create space around an HTML element, outside any border.
It is also possible to use negative values to overlap the content. Properties to set margin around
an element are:
margin: It specifies the top, right, left and bottom margin around an element.
margin-bottom: It is used to set the bottom margin of an element.
margin-top: It is used to set the top margin of an element.
86 Touchpad MODULAR (Version 1.1)-IX

