0

I have a little problem with my background size.

On Chrome, Mozilla, even MS Edge my icon with:

background-size: 23px;

Shows nice.

But on Internet Explorer i need a:

background-size: 74px;

To get it ,to a normal look.

Whats the problem? :(

RPichioli
  • 3,245
  • 2
  • 25
  • 29
eatmailyo
  • 670
  • 1
  • 12
  • 33

1 Answers1

0

I found a solution! Im using .svg icons and I need to add to my svg code two things width="" height="" after viewBox=""

for example to file beginning

<svg version="1.1" id="Layer_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 14 12.7" width="14" height="12.7" style="enable-background:new 0 0 14 12.7;" xml:space="preserve">

Thanks for all help :)

eatmailyo
  • 670
  • 1
  • 12
  • 33