Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html content in rectangle

<style>
.rectangle{
padding-top: 40px;
  width:100px;
  height:100px;
  border:1px solid #000; 
  position: relative;
  text-align: center;
}
</style>

<div class="rectangle">Hello world!</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #content #rectangle
ADD COMMENT
Topic
Name
2+5 =