Difference between revisions of "Complete page using div"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="html4strict"> <HTML> <HEAD> <style type="text/css"> #left { float:left; width:27%; height: 25em; margin:1px .2em 1px 1px; border: 2px solid green; }...")
 
(No difference)

Latest revision as of 12:36, 12 June 2014

<HTML>
<HEAD>
 
<style type="text/css">
#left {
  float:left;
  width:27%;
  height: 25em;
  margin:1px .2em 1px 1px;
  border: 2px solid green;
}
#content {
  margin:1px .2em 1px 28%;
}
#cnt1 {
  position;relative;
  margin:.3em 2px;
  height: 10em;
  border: 1px solid blue;
}
#cnt2 {
  position;relative;
  margin:.3em 2px;
  height: 100%;
  border: 1px solid blue;
}
</style>
</HEAD>
 
<BODY>
<div id="left">Left side</div>
<div id="content">
  <div id="cnt1">Up</div>
  <div id="cnt2">Down</div>
</div>
<br style="clear:both;" />
</BODY>
 
</HTML>