Difference between revisions of "Team:CGU Taiwan/Home"

(Created page with "<html> <head> <style> nav ul ul { display: none; } nav ul li:hover > ul { display: block; } nav ul { background: #efefef; background: linear-gradient(top, #efefef 0%,...")
 
Line 399: Line 399:
 
   <img src="" alt="NEWS" width="300" height="300" class="rad">
 
   <img src="" alt="NEWS" width="300" height="300" class="rad">
 
</a>
 
</a>
 +
 +
<head>
 +
<style>
 +
div {
 +
    background-color: #eee;
 +
    width: 200px;
 +
    height: 200px;
 +
    border: 1px dotted black;
 +
    overflow: auto;
 +
}
 +
</style>
 +
</head>
 +
<body>
 +
 +
<div>You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.</div>
 +
 +
</body>
 
</html>
 
</html>

Revision as of 13:40, 11 July 2016

1 / 3
Caption Text
2 / 3
Caption Two
3 / 3
Caption Three

PROJECT PROJECT NEWS
You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.