1 /*-----------------------------------------------------------------------------
2 This is derivative work from the layout reservoir by Rob Chandanais, stolen
3 with his explicit consent:
5 [Please feel free to borrow, steal, abduct, and/or torture
6 the documents contained in the Layout Reservoir.
7 Though you need not give credit to BlueRobot.com, a comment
8 in your source code would help other developers to find
10 -- http://www.bluerobot.com/web/layouts/,
11 Thu Dec 9 03:43:45 EST 2004
13 Have a look at http://bluerobot.com/ !
14 ----------------------------------------------------------------------------*/
20 background-color:white
;
24 margin:0px 0px 2px 0px;
38 margin:0px 0px 15px 0px;
45 margin:0px 0px 16px 0px;
56 a:visited
{color:#07a;}
57 a:hover
{background-color:#eee;}
59 #Menu a:hover
{color:#09e;}
62 margin:50px 0px 10px 0px;
63 padding:17px 0px 0px 20px;
64 /* For IE5/Win's benefit height = [correct height] + [top padding] +
65 [top and bottom border widths] */
66 height:33px; /* 14px + 17px + 2px = 33px */
69 border-width:1px 0px; /* top and bottom borders: 1px; left and right
72 background-color:#eee;
74 /* Here is the ugly brilliant hack that protects IE5/Win from its own
75 stupidity. Thanks to Tantek Celik for the hack and to Eric Costello
76 for publicizing it. IE5/Win incorrectly parses the "\"}"" value, prematurely
77 closing the style declaration. The incorrect IE5/Win value is above,
78 while the correct value is below. See http://glish.com/css/hacks.asp
80 voice-family: "\"}\
"";
82 height:14px; /* the correct height */
86 margin:30px 0px 10px 0px;
87 padding:17px 0px 0px 20px;
88 /* For IE5/Win's benefit height = [correct height] + [top padding] +
89 [top and bottom border widths] */
90 height:33px; /* 14px + 17px + 2px = 33px */
93 border-width:1px 0px; /* top and bottom borders: 1px; left and right
96 background-color:#eee;
97 voice-family: "\"}\
"";
99 height:14px; /* the correct height */
104 /* I've heard this called the "be nice to Opera 5" rule. Basically, it
105 feeds correct length values to user agents that exhibit the parsing error
106 exploited above yet get the CSS box model right and understand the CSS2
107 parent-child selector. ALWAYS include a "be nice to Opera 5" rule every
108 time you use the Tantek Celik hack(above). */
109 body
>#Header
{height:14px;}
112 margin:0px 50px 20px 250px;
114 position:relative
; /* Position is declared "relative"
115 to gain control of stacking order (z-index). */
118 border:1px solid black
;
119 background-color:white
;
120 z-index:3; /* This allows the content to overlap
121 the right menu in narrow windows
126 margin:0px 50px 10px 250px;
128 position:relative
; /* Position is declared "relative"
129 to gain control of stacking order (z-index). */
133 border:1px solid black
;
134 background-color:white
;
135 z-index:3; /* This allows the content to overlap
136 the right menu in narrow windows
141 margin:0px 0px 10px 0px;
147 margin:0px 50px 10px 0px;
161 background-color:#eee;
162 border:1px dashed
#999;
164 /* Again, the ugly brilliant hack. */
165 voice-family: "\"}\
"";
166 voice-family:inherit
;
178 /* Again, "be nice to Opera 5". */
179 body
>#Menu
{width:190px;}