Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <dl>
- <dt>Mercury</dt>
- <dd>Mercury (0.4 AU from the Sun) is the closest planet to the Sun and the smallest planet.</dd>
- <dt>Venus</dt>
- <dd>Venus (0.7 AU) is close in size to Earth, (0.815 Earth masses) and like Earth, has a thick silicate mantle around an iron core.</dd>
- <dt>Earth</dt>
- <dd>Earth (1 AU) is the largest and densest of the inner planets, the only one known to have current geological activity.</dd?>
- </dl>
- <style type="text/css">
- * {
- padding:0;
- margin:0
- }
- dl {
- width:100%;
- overflow:hidden;
- background:#ff0;
- }
- dt {
- float:left;
- width:50%; /* adjust the width; make sure the total of both is 100% */
- background:#cc0;
- }
- dd {
- float:left;
- width:50%; /* adjust the width; make sure the total of both is 100% */
- background:#dd0
- }
- </style>
- <dl>
- <dt>Mercury</dt>
- <dd>Mercury (0.4 AU from the Sun) is the closest planet to the Sun and the smallest planet.</dd>
- <dt>Venus</dt>
- <dd>Venus (0.7 AU) is close in size to Earth, (0.815 Earth masses) and like Earth, has a thick silicate mantle around an iron core.</dd>
- <dt>Earth</dt>
- <dd>Earth (1 AU) is the largest and densest of the inner planets, the only one known to have current geological activity.</dd?>
- </dl>
- dl {
- margin:0;
- padding:0;
- clear:both;
- overflow:hidden;
- }
- dt {
- margin:0;
- padding:0;
- float:left;
- width:28%;
- list-style-type:bullet;
- }
- dd {
- margin:0;
- padding:0;
- float:right;
- width:72%;
- }
- .huitCinqPts dl dt, .huitCinqPts dl dd {font-size:11.3px;}
- .bord_inf_gc dl {padding-top:0.23em;padding-bottom:0.5em;border-bottom:1px solid #aaa;}
- <div class="huitCinqPts bord_inf_gc">
- <dl><dt>Term1</dt><dd>Definition1</dd></dl>
- <dl><dt>Term2</dt><dd>Definition2</dd></dl>
- </div>
- <style type="text/css">
- dl > div {
- display: table-row;
- }
- dl > div > dt {
- display: table-cell;
- background: #ff0;
- }
- dl > div > dd {
- display: table-cell;
- padding-left: 1em;
- background: #0ff;
- }
- </style>
- <dl>
- <div>
- <dt>Mercury</dt>
- <dd>Mercury (0.4 AU from the Sun) is the closest planet to the Sun and the smallest planet.</dd>
- </div>
- <div>
- <dt>Venus</dt>
- <dd>Venus (0.7 AU) is close in size to Earth, (0.815 Earth masses) and like Earth, has a thick silicate mantle around an iron core.</dd>
- </div>
- <div>
- <dt>Earth</dt>
- <dd>Earth (1 AU) is the largest and densest of the inner planets, the only one known to have current geological activity.</dd>
- </div>
- </dl>
Add Comment
Please, Sign In to add comment