开发者

Can you spot the difference between my code and the tutorial?

Could someone tell me how exactly the code in my top navigation here differs from the one in this tutorial?

Other than changing the name of the menu id, the HTML and CSS I've used are the same开发者_如何学编程. For some reason you can't actually see the menu on my site; its height is hidden for some reason. Before it was mysteriously hidden: even the drop-down sub-menu under the "domains" tab was not functional and the sub-menu items were being displayed in-line with the other list items of the primary ul. I'm totally lost.


Check that the CSS is not referencing the menu id. If you changed this the CSS might be trying to select that element with the given id and not finding it anymore. If this is the case update the CSS to use your new ID.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜