css - how to force user to scroll to view content in html -


sorry new html , css

i making website in html , css , want user scroll down view content below. there logo , tagline on screen. if try add image shows below logo, don't want that. there way force user scroll view content further?

thanks , once again, sorry.

edit: here code:

<!doctype html> <html> <head> <title>msn</title> <meta charset="utf-8" /> <link type="text/css" rel="stylesheet" href="styles.css" /> </head> <body class="body" style="overflow-y:hidden"> <center> <div class="main"><br><br><br><br><br><br><br> <img class="logo" src="logo.png"> <div class="tiles"> <button class="t1"></button> <button class="t2"></button> <button class="t3"></button> <button class="t4"></button> <button class="t5"></button> <button class="t6"></button> <button class="t7"></button> <button class="t8"></button> </div> </div> </center> </body> </html> 

css:

.body { background-color: #ffffff; background-image:url(background.jpg); }  .logo { position: absolute; left: 42%; top: 25%; }  .tiles{ position: absolute; bottom: 20%; white-space:nowrap }  .t1 { background-image:url(tiles/t1.jpg); height:119px; width:210px; border:0px solid #ffffff; }  .t1:hover{ background-image:url(tiles/t1-1.jpg) } 

if understood, ?

#foo {     height: 100px; /* need fixed height scrolling on */     background: #ddd;    overflow: auto;  } 
<div id="foo">    <img src="http://sstatic.net/stackexchange/img/logos/so/so-logo-med.png" alt="logo" />    <p>hello,<br>i'm hide<br><br>peace.</p>  </div>


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -