Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Chrome bug? Ubuntu Bug? am I bugged?

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #200462
    zambo
    Participant

    Hi guys,

    There’s something that’s driving me INSANE.

    I’m currently using ubuntu for front-end development and on Chrome, and only in chrome, I can’t get rid of a f****** “margin” on the html tag.

    Alt

    I’ve tried reset, normalize, set every padding and margin to zero and… nothing.

    So, I did a quick research about this and found nothing (maybe used the wrong keywords). Anyway, does any one know
    if this is a bug or if there’s anything I can do?

    #200463
    Paulie_D
    Member

    We need a link ideally…the image isn’t really enough.

    #200465
    Paulie_D
    Member

    I assume it’s that red strip at the bottom of the page.

    #200470
    zambo
    Participant

    Hi guys,

    I’ve simplified. With this simple html, the same happens.

    <!DOCTYPE html>
    <html>
    <head>
        <title>test</title>
    
        <style type="text/css">
        html, body {
            margin: 0;
            padding: 0;
            background: lightblue;
            position: relative;
        }
    
        html {
            background: red;
        }
    
        .content {
            background: white;
            margin: 0;
            padding: 20px;
        }
        </style>
    </head>
    <body>
    <div class="content">
        <p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p><p>test</p>
    </div>
    </body>
    </html>
    
    #200479
    Rambo
    Participant

    cool username

    #200485
    Paulie_D
    Member

    Until we can test for ourselves on something that reproduces the problem I’m not sure what to tell you.

    It’s not a Chrome thing because this works in my Chrome..

    http://jsfiddle.net/puhnjhut/

    #200572
    zambo
    Participant

    Hey guys,

    The “margin” is indeed the red line on the image.

    It’s probably a bug. Just happens on my Chrome, even if I open the same code on codepen.io ou jsfiddle, it doesn’t replicate the issue. Everything works fine.

    Anyway, thank you all for your attention and support.

    Best,
    Zambo

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.