Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey,

I'm 14 and trying to figure this out for the last couple of days (im new, please dont judge)


I made this image in photoshop and I would like to figure out how to make it HTML and CSS on Codepen. What would the code be for the navigation bar alone? I want to know basically how to make it stick to the top (not to be fixed, but when I load the page, it should be at the top) and be 100% in width.

I have so much trouble in positioning, and I can create the navbar itself however the items are so tricky to align.

If you have the time, I would really appreciate a little lesson about alignment and positioning HTML elements with CSS (a link to a place good, is more than enough)
I get all these ideas for cool additions to my personal website but I can't do them because I don't know how to position them on the site, so this would be great
Posted
Comments

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900