Prevent absolutely-positioned elements from overlapping with text

后端 未结 1 894
谎友^
谎友^ 2021-01-01 18:23

I have a unique situation here.

Essentially, I have an absolutely positioned block of text, which must be absolutely positioned due to design limitations.

I

相关标签:
1条回答
  • 2021-01-01 18:51

    Is a solution to create another div (div2) that overlaps the absolutely positioned div (div1), but is itself invisible? Then the rest of the text would avoid overlapping div2...

    Sketched this out here: http://jsfiddle.net/VKYwD/8/

    Not entirely clear on what your constraints are though.

    0 讨论(0)
提交回复
热议问题