File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3+
4+ < html >
5+ < head >
6+ < title > static position inside position relative</ title >
7+ < script type ="text/javascript " src ="../../test.js "> </ script >
8+
9+ < style type ="text/css ">
10+ html {
11+ padding : 20px ;
12+ font : 12 px/20px Arial, sans-serif;
13+ }
14+ # div1 {
15+ padding : 10px ;
16+ background : # 9bfff8 ;
17+ position : relative;
18+ }
19+
20+ # div2 {
21+ background : # 7cb659 ;
22+ display : table;
23+ }
24+
25+ # div3 {
26+ float : left;
27+ }
28+
29+ </ style >
30+
31+ </ head >
32+ < body >
33+ < div id ="div1 ">
34+ < h1 > Division Element #1</ h1 >
35+ < code > position: relative;</ code >
36+ < div id ="div2 ">
37+ < h1 > Division Element #2</ h1 >
38+ < code > position: static;</ code >
39+ < div id ="div3 ">
40+ < div >
41+ < h1 > Division Element #3</ h1 >
42+ < code > float: left;</ code >
43+ </ div >
44+ </ div >
45+ </ div >
46+ </ div >
47+ </ body >
48+ </ html >
You can’t perform that action at this time.
0 commit comments