newwebsite
HTML
<div class="dropdown">
<button class="dropbtn" style="margin-left:208px;">News</button>
<div class="dropdown-content" style="margin-left:325;">
<h1 style="margin-left:50;">Cooperate news</h1>
<ul style="float:left; margin-right:60%;margin-top:-10;line-height:2;list-style:none;">
<li> <a href="http://www.molex.com/molex/home"> *How connected cars are turning into revenue-generating machines - August 29, 2016</a></li>
<li><a href="#">*Delphu, Mobileye Join Forces to Develop Selfdrive System - August 23,2016</a></li>
<li> <a href="#">*MIT Spinoff to Market Breakthrough Batteries by 2017 - August 22,2016</a></li>
<li> <a href="#">*Cisco Cuts Workforce by 7 percent to Speed Transition to Software - August 18, 2016</a></li>
</ul>
<h1 style="margin-left:490; margin-top:-60;">Chengdu News</h1>
<ul style="margin-left: 55%; margin-top:-396;float:left; line-height:2;list-style:none;">
<li>
<a href="#">* 10 Year Service Award ceremony</a></li>
<li><a href="#">* PDP Training</a></li>
<li> <a href="#">* ISO 27001 project Kick-off</a></li>
<li> <a href="#">* 2016 Internship Program update</a></li>
<li><a href="#">* WBC Update-- First Reading Salon</a></li>
<li style=" margin-top:190px; margin-left:180px;"><a href="http://www.molex.com/molex/home" style="color:white;">more>>></a></li>
</ul>
</div>
</div>
<div class="dropdown" style="margin-left:110;">
<button class="dropbtn" style="margin-left:250px;">Notice & Policy</button>
<div class="dropdown-content" style="margin-left:215;">
<h1 style="margin-left:50;">Cooperate news</h1>
<ul style="float:left; margin-right:60%;margin-top:-10;line-height:2;list-style:none;">
<li> <a href="http://www.molex.com/molex/home"> *How connected cars are turning into revenue-generating machines - August 29, 2016</a></li>
<li><a href="#">*Delphu, Mobileye Join Forces to Develop Selfdrive System - August 23,2016</a></li>
...
CSS
body {
padding: 0;
margin: 0;
}
* {
box-sizing: border-box
}
body {
font-family: Verdana, sans-serif;
margin: 0
}
.mySlides {
display: none
}
/* Slideshow container */
.slideshow-container {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 0;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 13px;
width: 13px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active,
.dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
@-webkit-keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
@keyframes fade {
from {
opacity: .4
}
to {
opacity: 1
}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.prev,
.next,
.text {
font-size: 11px
}
}
.box {
background-color: #ffe680;
width: 895px;
height: 500px;
position: fixed;
margin-top: 154px;
margin-left: 288px;
z-index: 1;
}
h1 {
color: white;
text-shadow: 3px 2px red;
}
.dropbtn {
background-color: #4CAF50;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
.dropdown {
position: relative;
display: inline-block;
z-index: 1;
}
.dropdown-content {
display:...