HTML div

From Ilianko
Revision as of 10:33, 17 June 2011 by Anko (talk | contribs) (Created page with " <style> div {border:1px black solid} </style> <div style="position: relative; width: 728px; height: 200px; background-color:#CCCCCC"> <!--This is the containing div position: re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
<style>

div {border:1px black solid} </style>

position: absolute; top: 70px; left: 255px; width: 240px; background-color: azure; overall width 248px including 2*3px padding and 2*1px border; (no height)

position: absolute; top: 10px; left: 3px; width: 240px; height: 150px; background-color: pink; overall width 248px including 2*3px padding and 2*1px border

position: absolute; top: 25px; left: 507px; width: 210px; height: 125px; background-color: yellow; overall width 218px including 2*3px padding and 2*1px border