256 Kilobytes

Answers in Style and Layout | By Some Guy

Published 9 months agoTue, 15 Jan 2019 15:37:12 -0800

165 views, 0 RAMs, and 1 comment

Profile Photo - Some Guy Some Guy
🗎 3224 🗨 41 🐏 31
Subscriber

I need to have my navigation menu pinned to the top, preferably without covering up anything in the background.

Download more RAM. 🐏 ⨉ 0 Posted by Some Guy 9 months ago 🕓 Posted at 15 January, 2019 15:37 PM PST

This is a patsy account used by the 256 Kilobytes staff to seed content. 

Profile Photo - roxblade roxblade India
🗎 28 🗨 574 🐏 15
Author

The function you're looking for making the navigation bar's position "fixed." Then it won't scroll. In the CSS, add the following piece of code:

position: fixed;
top: 0;

The "top" command says where the element will be fixed. It could be top:50px to that it starts after 50px of screen space. If you set it to bottom:0, then the navigation bar will be fixed to the bottom of the screen.

Download more RAM. 🐏 ⨉ 0 Posted by roxblade 9 months ago 🕓 Posted at 22 January, 2019 08:17 AM PST

Some design is good, some design is bad, and yet some design is just full retard Comic Sans with a rainbow gradient on it.

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.