Can't get my svg image displayed in Firefox?

Matt

I can't get my svn-image displayed in Firefox... it works fine in Safari and Chrome (don't have IE, so haven't tested that yet).

It's implemented like this in my html;

img class="logo1" src="/images/logo6.svg"

Where logo1 is just a class for positioning.

I've tried to google but have just found that sag isn't supported by Firefox, but nonetheless, there are ways to display it. All solutions has been really hard to understand though. (I'm not a programmer!)

Are there any easy ways of doing this?

Paul LeBeau

You aren't specifying a size for your SVG anywhere. In your logo1 class, you specify 100%, but 100% off what? Chrome is working because it is defaulting to the "indeterminate sizing" default which is 300px width. But Firefox is using 100% of the width of the parent element (<li>), which is 0

Specify a real width and/or height in your logo1 class and everything should work fine in FF.

.logo1 {
    padding-top: 6px;
    width: 300px;
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

round SVG images on Joomla site do not get displayed in Firefox

From Dev

SVG image blur on Firefox

From Dev

SVG image blur on Firefox

From Dev

Background SVG image inline not displayed

From Dev

SVG image not displayed, possibly obscured

From Dev

SVG image is displayed differently in browsers

From Dev

Firefox can't handle my jQuery

From Dev

SVG IMAGE (background class) - doesn't work on Firefox

From Dev

I would like to change my heart shape into Triangle shape. But can't get path svg code?

From Dev

I can't get Stylish for Firefox to save my style, if it uses REGEXP in the url

From Dev

Can't get geolocation in my ubuntu-16.04 browsers like Chrome and firefox

From Dev

I can't seem to get my image to be absolute to the top of my page and cover the whole page

From Dev

SVG being displayed differently on Chrome and Firefox

From Dev

Why doesn't my die() text get displayed?

From Dev

Can't get in my acount

From Dev

Can't get a SVG circle animated

From Dev

Can't get keyboard combinations to work on Firefox

From Dev

Can't get CORS working in Firefox

From Dev

Can't get access to videos on Firefox

From Dev

Can't get image next to other image

From Dev

Can't get image next to other image

From Dev

image not getting displayed on my website

From Dev

Firefox, bad svg image rendering

From Dev

I want to put some text beside my asp image, but I can't seem to get it right

From Dev

(jython/ python)Can't seem to get the image copy I made in jython outside of my def

From Dev

Why can't I get a rectangle to be displayed properly in Open CV?

From Dev

I can't get access to NTFS partition : This location could not be displayed

From Dev

Can't make my image slider, slide

From Dev

Base64 / SVG HTML image is not displayed

Related Related

  1. 1

    round SVG images on Joomla site do not get displayed in Firefox

  2. 2

    SVG image blur on Firefox

  3. 3

    SVG image blur on Firefox

  4. 4

    Background SVG image inline not displayed

  5. 5

    SVG image not displayed, possibly obscured

  6. 6

    SVG image is displayed differently in browsers

  7. 7

    Firefox can't handle my jQuery

  8. 8

    SVG IMAGE (background class) - doesn't work on Firefox

  9. 9

    I would like to change my heart shape into Triangle shape. But can't get path svg code?

  10. 10

    I can't get Stylish for Firefox to save my style, if it uses REGEXP in the url

  11. 11

    Can't get geolocation in my ubuntu-16.04 browsers like Chrome and firefox

  12. 12

    I can't seem to get my image to be absolute to the top of my page and cover the whole page

  13. 13

    SVG being displayed differently on Chrome and Firefox

  14. 14

    Why doesn't my die() text get displayed?

  15. 15

    Can't get in my acount

  16. 16

    Can't get a SVG circle animated

  17. 17

    Can't get keyboard combinations to work on Firefox

  18. 18

    Can't get CORS working in Firefox

  19. 19

    Can't get access to videos on Firefox

  20. 20

    Can't get image next to other image

  21. 21

    Can't get image next to other image

  22. 22

    image not getting displayed on my website

  23. 23

    Firefox, bad svg image rendering

  24. 24

    I want to put some text beside my asp image, but I can't seem to get it right

  25. 25

    (jython/ python)Can't seem to get the image copy I made in jython outside of my def

  26. 26

    Why can't I get a rectangle to be displayed properly in Open CV?

  27. 27

    I can't get access to NTFS partition : This location could not be displayed

  28. 28

    Can't make my image slider, slide

  29. 29

    Base64 / SVG HTML image is not displayed

HotTag

Archive