Please help!

Status
Not open for further replies.

Korey

Member
Jan 7, 2014
50
0
Pre-Problem:
After Problem: ~ How can I prevent this from occurring when the tab is minimized?
 

Korey

Member
Jan 7, 2014
50
0
I did what you said here's my code:

<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}

li {
float: left;
}

a:link, a:visited {
display: block;
width: 300px;
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: #7A991A;
}
#wrapped {
width: 120px;
display: block;
position: relative;
}
</style>
</head>
<body>
<ul class="wrapped">
<li class="wrapped"><a href="#home"; class="wrapped">Home</a></li>
<li class="wrapped"><a href="#news"; class="wrapped">News</a></li>
<li class="wrapped"><a href="#contact"; class="wrapped">Contact</a></li>
<li class="wrapped"><a href="#about"; class="wrapped">About</a></li>
</ul>
</div>
</body>
</html>




(Still not working) D:
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,934
3,933
Here you go:

You don't put semicolons after each attribute in a link (or anything for that matter) in HTML. Also, you have a "wrapped" id, yet you're trying to apply the "wrapped" class.
 
Status
Not open for further replies.

Users who are viewing this thread

Top