kyeugh
onion witch
- Pronoun
- she/her
So, I'm trying to make a menu. Unfortunately, the menu doesn't want me to make it. So here's the dealy.
This is the CSS for my menu:
And then there is the markup for the menu itself.
I've looked and looked and changed things around to try and get it to work, but nothing does. I can't find what the heck is wrong with my menu, but when I pull it up online, all the text is jumpled up on top of each other. So, uh, help, please.
This is the CSS for my menu:
Code:
ul {
margin:0;
padding:0;
list-style-type:none;
}
li {
font-weight:bold;
font-variant:small-caps;
background:url('http://upload.wikimedia.org/wikipedia/commons/7/7a/Auto_Racing_White.svg') repeat-x #DDDDFF;
padding:0.1em 0.5em;
}
li ul li {
font-weight:normal;
font-variant:normal;
background:transparent;
padding:0;
}
ul {
position:absolute;
top:60px;
left:0;
width:150px;
}
Code:
<ul>
<li>Creative
<ul>
<li><a href="Mohacimim.html">Art</a></li>
<li>Writing</li>
<li>Basalt and Granite</li>
</ul>
</li>
<li>Pokémon
<ul>
<li><em>Encyclopedia Pokémonica</em></li>
<li>Breeding</li>
<li>Strategy</li>
</ul>
</li>
<li>Site
<ul>
<li>About the Site</li>
<li>About Me</li>
<li>Link to Me</li>
</ul>
</li>
<li>Guides
<ul>
<li>World Building</li>
<li>Character Building</li>
<li>Region Making</li>
<li>Pokémon Making</li>
</ul>
</li>
</ul>
Last edited: