Divisions described later in the HTML document appear in front of earlier described divisions.
This division is styled in the head section of the page and placed in the
document body using <div class="one"> statement.
code5 | divisions | more divisions
twin div in div
(not a clone)
left 215px - padding 6px
left 405px;
padding 6px; border-radius 100px
2px dotted
Divisions
position:absolute; - - - - - - - static (default), relative, absolute, fixed
width:320px; - - - - - - - - - - fixed pixels or percentage of page
vertical-position:absolute
top: 20px;
height:240px
margin:10px;
Margin - Individual sides:
margin-top:20px;
margin-bottom:20px;
margin-right:20px
margin-left:20px;
Margin - Shorthand property (100px from top 50px from left):
margin:100px 50px;
The margin property can have from one to four values:
margin:25px 50px 75px 100px; (top, right, bottom, left)
margin:25px 50px 75px; (top, right and left - 50px - and bottom)
margin:25px 50px; (top and bottom, left and right)
margin:25px; (all four margins are 25px)
padding:10px;
color:#3f4267;
background-color:#ffffff; (white)
opacity:0.5;
border:5px solid gray; top, right, bottom, left; dashed, dotted, solid, double
Translated class="one" division - left:36%; top:1120px; - with padding attibute added, and background color,
opacity, border-radius, size and decoration (default solid -> dashed) were all modified within the div class=statement:
<div class="one" style="left:36%; top:1120px; padding:6px; background-color:#406666; opacity:0.6; border-radius:10px; border:4px dashed #03056f;"><p style="color:#ffffff;">
The <p style="color:#ffffff;"> paragraph statement over-rides the default font color definition in 'rqstyle5.css' and formats the paragraph text to white.