Hello! I am relatively new to the world of HTML and CSS, so any help you can provide is greatly appreciated.
Currently, I am trying to center a navigation bar while also having it overlap on the bottom side of a banner image. The top of the page features a banner image, with a background image for the main content positioned just below the nav bar. After experimenting with some code:
ul.navbar li {
float: left}
I found that this caused the nav bar to be placed directly underneath the main body background rather than above everything else. To achieve a horizontal layout for the list items, I then tried:
ul.navbar li {
display: inline-table}
This adjustment gave me the desired horizontal format I was looking for. Now, my focus is on centering the navigation bar and overlaying it at the bottom end of my banner image. Do you have any suggestions or tips? Here's a snippet of my HTML and CSS:
CSS:
Your CSS code here...
HTML:
Your HTML code here...
Thank you for your help!