Trying to make order, I got a mess
-
Here is the page URL : https://www.buy-and-benefit.com/?page_id=161
Here is its code:
<!DOCTYPE html>
<html>
<head>
<style type=”text/css”>
.nav
{
width:1200px;
}
ul
{
list-style-type:none;
margin:0;
padding:0;
overflow:hidden;
}
li
{
float:left;
}
a:link,a:visited
{
font-size:30px;display:block;
width:120px;
font-weight:bold;
color:#FFFFFF;
background-color:#98bf21;
text-align:center;
padding:4px;
text-decoration:none;
text-transform:uppercase;
}
a:hover,a:active
{
background-color:#98bf21;
font-weight:bold;
color:#acacac;
}body
{
background-color:#d0e4fe;
}
h1
{
color:orange;
text-align:center;
}
p
{
font-family:”Arial,Times New Roman”;
font-size:20px;
}
</style>
</head>
<body>
<p>This is the first line after the body tag</p>
<div class=”nav”></div>
</br></body>
</html>I tried to eliminate the gap between the top of the content area and the navigation menu.
I added a line right after the <body> tag.I deleted all menus in the WordPress appearance -> menus interface.
The result is that a messed up menu appeared in the header area under the logo?
Why is that? how do I fix it?
Is it always like that at the beginning?
- The topic ‘Trying to make order, I got a mess’ is closed to new replies.