- This topic is empty.
-
AuthorPosts
-
April 14, 2015 at 2:42 pm #200462
zambo
ParticipantHi 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.
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?April 14, 2015 at 2:48 pm #200463Paulie_D
MemberWe need a link ideally…the image isn’t really enough.
April 14, 2015 at 3:32 pm #200465Paulie_D
MemberI assume it’s that red strip at the bottom of the page.
April 14, 2015 at 6:49 pm #200470zambo
ParticipantHi 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>
April 14, 2015 at 9:25 pm #200479Rambo
Participantcool username
April 15, 2015 at 1:27 am #200485Paulie_D
MemberUntil 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..
April 16, 2015 at 9:24 am #200572zambo
ParticipantHey 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 -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.