Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27133

    Hello,

    I am experiencing the following issue:

    Using float left style, the div1 is overlapped by div2.

    <html>
    <head></head>
    <body>
    <div style="overflow:hidden">
    <div>
    <div style="display:block">
    <div id="div1" style="float:left">
    <span>test 1 </span>
    <span>test 2 </span>
    </div>
    <div id="div2">

    line 1111111111111111111111111111111111111111111111
    line 2222222222222222222222222222222222222222222222
    line 3333333333333333333333333333333333333333333333
    

    </div>
    <div>text after pre element</div>
    </div>
    </div>
    </div>
    </body>
    </html>

    I cannot paste a real example due privacy issues .

    Any idea what it can be ?

    Thank you
    Rodev

    #30010

    Problem solved by usind width:100% on pre elements.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.