Two-wing layout and two-wing Layout
<! DOCTYPE html>
<Html lang = "en">
<Head>
<Meta charset = "UTF-8">
<Title> two Flying Wings Holy Land </title>
<Style type = "text/css">
*{
Margin: 0;
Padding: 0;
Border: 0;
}
. {
Float: left;
}
# Wrap {
Overflow: hidden;
}
# Center {
Width: 100%;
Height: 500px;
Background: # f40;
}
# Left {
Width: 20%;
Height: 500px;
Background: green;
Margin-left:-100%;
}
# Right {
Width: 30%;
Height: 500px;
Background: # ccc;
Margin-left:-30%;
}
. Header,. footer {
Width: 100%;
Background: #666;
Height: 30px;
Clear: both;
}
. Bd {
Padding-left: 150px;
Padding-right: pixel PX;
Height: 200px;
}
. Left {
Background: # E79F6D;
Width: 150px;
Float: left;
Margin-left:-100%;
Position: relative;
Left:-150px;
Height: 100%;
}
. Main {
Background: # D6D6D6;
Width: 100%;
Float: left;
Height: 100%;
}
. Right {
Background: #77 BBDD;
Width: pixel PX;
Float: left;
Margin-left:-pixel PX;
Position: relative;
Right:-pixel PX;
Height: 100%;
}
</Style>
</Head>
<Body>
<! -- Dual-flying wing layout -->
<Div id = "wrap">
<Div id = "center" class = "a"> </div>
<Div id = "left" class = "a"> </div>
<Div id = "right" class = "a"> </div>
</Div>
<! -- Holy directory layout -->
<Div class = "header"> Header </div>
<Div class = "bd">
<Div class = "main"> Main </div>
<Div class = "left"> Left </div>
<Div class = "right"> Right
</Div>
</Div>
<Div class = "footer"> Footer </div>
</Body>
</Html>