HTML and CSS Reference
In-Depth Information
Figure 15.49 The Web page.
Step 2: The CSS File: Presentation and Style
EXAMPLE 15.26
/*Style for the Vietnam Trip Gallery */
1 .mainpic { position:absolute; top: 50px;left:60px;
border-style:solid;border-color:darkgreen;}
2 .title { position: absolute; left:165px; top: 8px;font-size:160%;
color:darkgreen;font-family:cursive;}
3 .divbuttons { position:relative; top: 465px;left:60px;}
4 .caption { position:absolute; top: 430px;left:60px;
font-family:cursive;font-style:bold;
font-size:16pt;color:darkgreen;}
5
body{background-color:silver;}
Search WWH ::




Custom Search