1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
4 <title>CSS Block Box Model: block widths with position:relative
</title>
5 <style type=
"text/css">
6 .control { display: inline
; font: 1em/1 Ahem
, sans-serif
; background: red
; color: white
; }
7 .outer { position: relative
; width: 300px; height: 100px; background: red
; }
8 .inner { width: 200%; height: 200%; font: 100px/1 Ahem
; color: green
; }
12 <div class=
"control">Ahem_font_required_for_this_test.
</div>
14 <div class=
"inner">XXX
</div>