From 1ce2e9e25043a5a47ab8a973009d748490e02057 Mon Sep 17 00:00:00 2001 From: ayamberkakienam <zackhardyz@gmail.com> Date: Wed, 4 Oct 2017 17:10:05 +0700 Subject: [PATCH] Add clickable div on main.html --- main.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/main.html b/main.html index e33950ee..99d4e4cd 100644 --- a/main.html +++ b/main.html @@ -7,20 +7,26 @@ <link rel="stylesheet" type="text/css" href="css/default_style.css"> </head> <body> - <div class="frame" style="overflow: auto; max-width: 800px"> + <div class="frame" style="overflow: auto; max-width: 600px"> <div style="background-color: blue;"> <h1>Title</h1> </div> <div style="background-color: white; max-width: 600px; margin-left: auto; margin-right: auto"> - <div style="background-color: red; width: 200px; float: left"> - <h2>Content 1</h2> - </div> + <a href="order/order.php" name="order_link"> + <div style="background-color: red; width: 200px; float: left"> + <h2>Order</h2> + </div> + </a> + <a href="history/history.php" name="history_link"> <div style="background-color: green; width: 200px; float: left"> - <h2>Content 2</h2> + <h2>History</h2> </div> + </a> + <a href="profile/profile.php" name="profile_link"> <div style="background-color: yellow; width: 200px; float: left"> - <h2>Content 3</h2> + <h2>My Profile</h2> </div> + </a> </div> </div> </body> -- GitLab