Switch to full style
HTML code examples
Post a reply

change border style to solid at div tag

Thu Nov 10, 2011 12:10 am

Following example change border style of div tag to solid ,and also change its color and size.
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>Start background image from its bottom</title>
<
style type="text/css">
*.
box 
  
border-stylesolid;
  
border-size:4px;
  
border-color:#FF55CC;
 
color:#000000;
}
</
style>
</
head>
<
body>
  <
div class="box"
  
Your text here.
  </
div>
 
</
body>
</
html>
 




Post a reply
  Related Posts  to : change border style to solid at div tag
 Change the border style on mouse over     -  
 Add solid Border to div     -  
 change the style of the kbd     -  
 Change the td font style     -  
 Change table style using CSS     -  
 Change the border color of image and its link     -  
 change the style of table cells     -  
 change the font style of the body tag     -  
 Change the default underline style of link     -  
 Draw a solid sphere using openGL     -  

Topic Tags

CSS Border, HTML Div