Bug CSS Chrome, IE and Firefox

Asked

Viewed 117 times

0

I’m not able to understand a bug between browsers.

See this image of how it looks in Chrome and IE and how it looks in Firefox !(https://ibb.co/mv5DRS)

// CSS (Less)
 div{
    p{
        position: relative;
        text-transform: uppercase;
        padding: 0 0 10px;
        left: 10%;
        top: 18vw;
        width: 90%;

        span{
            padding: 0.2% 4%;
            color: #000;
            background-color: #193944;
            font-size: 320%;
            word-wrap: break-word;
            }
    }

}

I made it here to demonstrate and it worked perfect. But in my CSS gives the image error. I imagine it is something related to CSS Reset.

div{
  height: 400px;
  background-color: #2222;
  position: relative;
  }
  div p{
        position: relative;
		text-transform: uppercase;
		padding: 0 0 10px;
		left: 10%;
		top: 18vw;
		width: 90%;
  }
  div p span{
     padding: 0.2% 4%;
     color: #fff;
	 background-color: #193944;
	 font-size: 220%;
	 word-wrap: break-word;
  }
<div>
  <p><span>Texto</span></p>
  <p><span>Mais Texto Aqui</span></p>
  <p><a href="#">Link</a></p>
</div>

  • you already tried to remove your reset to see what happens?

  • Explain better what you mean by image error, in your example there is none and the presentation is exactly the same in Chrome and firefox.

  • Try clearing the browser cache.

  • [h3nr1ke], my Resete is very simple 5 lines at most. I retired... it’s the same. [Leandro Angelo], no image error is rendering browsers, the image placed as is the rendering in Chrome, IE and Firefox. In the simulation I did using a similar code here to demonstrate is working correctly, but not on my website. [dvd], I do this all the time.

  • What you put here in the demo works in normal Firefox?

  • I mean, you open the site here in Firefox if functional normal. Ie, only on your site tah bixado.

  • If your site is online and you can put the link here for us to take a look.

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.