Whing Dela Cruz
asked on
Head to not include on scroll
Hi experts, How to get the Head of the page to not be included on the Page scroll? I have a very long page with almost 2000px. Since the browser will auto provide the scroll for the user able to see the whole page, I realize that the Head of the page must not be included on the scroll so that the user can still aware of what page he/she is in. I try added this solution to my .css but not working.
.head .logo, header .plus-menu
{position: fixed;}
<!DOCTYPE html>
<html>
<header>
<meta charset="utf-8" />
<link rel="stylesheet" href="MyHomeCss\Winstyle.c ss"/>
<div id="header">
//My logo
</div>
<ul>
//My Menu
</ul>
</header>
<body>
</body>
.head .logo, header .plus-menu
{position: fixed;}
<!DOCTYPE html>
<html>
<header>
<meta charset="utf-8" />
<link rel="stylesheet" href="MyHomeCss\Winstyle.c
<div id="header">
//My logo
</div>
<ul>
//My Menu
</ul>
</header>
<body>
</body>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you guys, more power and knowledge to both of you sirs!
ASKER