i am having a problem with some basic html and css ithink it has to do with my html file trying to figure out tables, can someone please tell me what im doing wrong and how to make it look identical to my example
here is the css
here is the html
this is the example that i am seeking.
i a trying to be as basic as i can, i haven’t been introduced to flex-box or anything like that, any kind of help or links to a topic that covers this in detail i really prevaricate it thank you!!
nav {
padding: 15px;
display: flex;
justify-content: center;
}
nav ul {
margin: 0px;
list-style-type: none;
padding: 5px 0px 5px 0px;
}
ul li {
display: inline;
padding: 5px 0px 5px 0px;
}
ul li a:link,
ul li a:visited {
color: green;
text-decoration: none;
}
ul li a:hover {
background-color: #c8b99c;
}
i.e flex-box HOWEVER this is not how i am supposed do the assignment i was supposed to be using the old way of “display: table;” “display: table-cell;” the example is a screenshot thats why i cant simply inspect it. sorry if it left out details can someone explain how tables work even tho i feel flex is way more appropriate
i would first learn about table, tbody, thead, tr, td. start here, and then later you can use the css properties once you understand the tables coded in html