How to fix my anchor link issue

前端 未结 4 1717
孤街浪徒
孤街浪徒 2021-01-24 11:08

I have a question regarding the anchor tag.

I have a page like

bunch of stuff….and iamges
<
4条回答
  •  灰色年华
    2021-01-24 11:40

    Set z-index parameter to -1. Having it with a high value his puts your div over the others and will be floated over the others.-1 Will set it in a z-ordering less than trhe others. You can also remove it completely if you don't care about specific z-ordering betheen divs in code.

    UPDATE: Fixed position will also cause your div to be "anchored" in a place of the page, and be expanded without "pusing" the others. Please also consider changing CSS position element value (http://www.w3schools.com/css/css_positioning.asp).

提交回复
热议问题