Skip to content

Commit ab4e036

Browse files
author
Giovanni Di Milia
committed
Menus complete
1 parent 2b68b99 commit ab4e036

File tree

3 files changed

+99
-0
lines changed

3 files changed

+99
-0
lines changed

New/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Gold and Currencies Trader Inc</title>
6+
<link rel="stylesheet" type="text/css" href="style.css" />
7+
<script type="text/javascript" src="javascript.js"></script>
8+
</head>
9+
<body>
10+
<div class="leftmenu">
11+
<dl class="menulist">
12+
<dt>Menu</dt>
13+
<dd><span class="biggerfont">&nbsp;</span></dd>
14+
<dd><a href="xchange.html">Exchange Currencies</a></dd>
15+
<dd><a href="buyg.html">Buy Gold</a></dd>
16+
<dd><a href="http://www.nyse.com/" onclick="alert('add confirm');">Wall Street Official Site</a></dd>
17+
</dl>
18+
</div>
19+
<div class="rightwrapper">
20+
<div class="topmenu">
21+
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
22+
</div>
23+
<div class="content">
24+
content
25+
</div>
26+
</div>
27+
</body>
28+
</html>

New/javascript.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/**
2+
*
3+
*/

New/style.css

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
@CHARSET "UTF-8";
2+
/* General */
3+
body {
4+
background-color:#FFEF99;
5+
}
6+
.biggerfont {
7+
font-size:2em;
8+
}
9+
/*Left menu*/
10+
dl.menulist {
11+
margin:0px;
12+
}
13+
14+
dl.menulist dt {
15+
font-size:1.2em;
16+
}
17+
18+
dl.menulist * {
19+
background-color:#999;
20+
color:#fff;
21+
margin-bottom:3px;
22+
margin-left:0px;
23+
padding:2px;
24+
padding-left:10px;
25+
padding-right:10px;
26+
}
27+
28+
dl.menulist * a {
29+
margin:0px;
30+
padding:0px;
31+
}
32+
33+
/*specific*/
34+
div.leftmenu, div.rightwrapper, div.topmenu, div.content {
35+
float:left;
36+
}
37+
div.leftmenu, div.rightwrapper {
38+
margin:5px;
39+
}
40+
41+
div.topmenu {
42+
margin-bottom:10px;
43+
}
44+
45+
div.content {
46+
clear:left;
47+
}
48+
49+
div.topbutton {
50+
width:100px;
51+
border:2px solid black;
52+
background-color:#999;
53+
text-align:center;
54+
float:left;
55+
margin-right:100px;
56+
border-radius: 0.5em;
57+
box-shadow: rgba(0,0,0,0.2) 0.5em 0.5em 0.3em;
58+
}
59+
60+
div.topbutton.last{
61+
margin-right:0px;
62+
}
63+
64+
div.topbutton * {
65+
color:#fff;
66+
margin:0px;
67+
padding:0px;
68+
}

0 commit comments

Comments
 (0)