Can you have
  • s without them being under a
      or
        ?
  • 前端 未结 5 794
    猫巷女王i
    猫巷女王i 2021-01-12 05:49

    I have a navigation that I am using a list for. I have it in a

      , but that is messing up my UI because it has weird automatic margins. I tried without
    5条回答
    •  感情败类
      2021-01-12 06:38

      This might not answer your question directly, but I'm wondering if you use a CSS reset?

      I have found since I started using them, I don't encounter those sort of issues any more. http://developer.yahoo.com/yui/3/cssreset/

      Also, another thing to consider is that your nav doesn't have to be in

    • 's (necessarily). Why not make them just links in a
    提交回复
    热议问题