Switch to full style
HTML code examples
Post a reply

Add solid Border to div

Thu Feb 23, 2012 12:16 am

In this example we add solid border using CSS attributes .
Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<
head>
  <
title>Add solid Border to div</title>
  <
style rel="stylesheet" type="text/css">

div.solid {
  
border-stylesolid;
  
border-color#325432;
  
border-width1px;
  
width:200px;
}

</
style>
</
head>

<
body>
<
div class="solid">

<
>In this example we add border to 
the div part
.</p>
</
div>
</
body>
</
html>
 




Post a reply
  Related Posts  to : Add solid Border to div
 change border style to solid at div tag     -  
 Adding lighting to a solid sphere     -  
 Draw a solid sphere using openGL     -  
 Border around JPG img     -  
 Add dotted Border to div     -  
 separate border collapse example     -  
 set the size of border in pixels     -  
 Set border bottom color     -  
 Add dashed border to text div     -  
 Remove border of the linked image     -  

Topic Tags

HTML Div