Home › Forums › CSS › a little help for a new in css › Re: a little help for a new in css
April 28, 2011 at 3:23 am
#48902
jamygolden
Member
#nav a {
display: block;
width: 20em;
height: 20px;
}
#nav li { /* all list items */
float: left;
width: 10em; /* width needed or else Opera goes nuts */
}
The links within the list items are larger than the list items themselves. I’m not sure if you’re doing that intentionally but try increasing the width of #nav li.
I’ve just glanced over this and that looks a bit odd to me.