Changes between Initial Version and Version 1 of Ticket #9597


Ignore:
Timestamp:
Jul 22, 2009, 10:38:30 PM (10 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9597 – Description

    initial v1  
    22
    33{{{
    4 myNode { position: absolute; top: 50%; left: 50%; width: 600px; height: 400px; margin-left: -300px; margin-top: -200px; }
    5 iirc you have to set width and height = 100% on the body element, but only for IE
     4<div id=centerpoint>
     5    <div id=dialog>
     6         ...
     7    </div>
     8</div>
     9}}}
     10
     11where
     12
     13{{{
     14#centerpoint {
     15   top: 50%;
     16   left: 50%;
     17   position: absolute;
     18   (maybe a rule about overflow: visible?)
     19}
     20
     21#dialog {
     22    position: relative;
     23
     24    width: 600px;
     25    margin-left: -300px;
     26
     27    height: 400px;
     28    margin-top: -200px;
     29}
    630}}}
    731