What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

White bar above nav bar, can't remove

Nikki

New member
1667772576214.png
Here's a visual of what I'm struggling with (I'm sure it's super easy, I'm brand new to this). I've set my nav bar to have the green background colour, and prior to doing this I had applied a background colour to the entire <body>, where I wasn't having this problem. Body margin is set to 0 as far as I can tell using the following snippet:
HTML,
body {
margin: 0;
padding: 0;
}
Can post full code in the replies if need be, mainly just wondering if anyone knows what this relates to.
 
Top