Why does adding float:left to my css make my link unclickable?

前端 未结 4 2225
清歌不尽
清歌不尽 2021-02-12 01:31

I have a view with a section defined thus:

<%=ViewData.Model.Body %>

4条回答
  •  情深已故
    2021-02-12 02:04

    hmmm sounds like a simple bug often found with multiple floats, you could try adding a clearing element after the links i would use something like

    
    
    .clear{
    float:none;
    clear:both;
    font-size:0px;
    line-height:0px;
    height:0px;
    }
    

    that should be fairly cross browser, you may need to add   inside so its

     
    

提交回复
热议问题