Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 1.01 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CSS Using absolute position to place an element directly below another element?
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8"/>
  6. <title>Intro</title>
  7.  
  8. </head>
  9. <body class="claro" dvFlowLayout="true" data-davinci-ws="collapse" id="myapp">
  10.  <img></img>
  11.  <img src="Y.gif" style="position: absolute; left: 30%; top: 48.5%; width: 7%; height: auto;z-index:100;"></img>
  12.  <img src="m.gif" style="position: absolute; left: 30%; top: 48%; width: 7%; height: auto;z-index:100;"></img>
  13.  <img src="ymbackwardsindustries3.gif" style="position: absolute; left: 37%; top: 45%; width: 40%; height: auto;z-index:100;"></img>
  14.  <img src="ym5.gif" style="width: 30%; height: auto;"><div id="menuBar" style="width: 100%; background-color: #050552; left: 0px; position: static; height: 58px; top: 94px;"></div>
  15.  </img>
  16.  <div id="main" style="position: absolute; width: 75%; height: 100%; left: 0px; top: 152px;"></div>
  17.  <div id="navigation" style="position: absolute; width: 100%; height: 100%; left: 75%; top: 152px;"></div>
  18. </body>
  19. </html>