Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6049247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:33:15+00:00 2026-05-23T07:33:15+00:00

Seems Safari is having some problems rendering my SVG, while other browsers does it

  • 0

Seems Safari is having some problems rendering my SVG, while other browsers does it correctly. Any idea on what is wrong?

Here is the URL:

http://bcndevcon.org/dev/infographic/

I’ve seen a lot of examples using iFrame, I don’t know if it has something to do with the problem.

Update: Seems server is sending the wrong content type, Content-Type: text/html

enter image description here

Update 2: In order to draw it correctly on all browsers use xhtml insted of html extension, for example: index.html

Newbie error 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:33:16+00:00Added an answer on May 23, 2026 at 7:33 am

    You have an XHTML page being served as text/html. Change your server to serve your page as application/xhtml+xml, or include the following as the first element in the <head>:

    <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
    

    If Safari is interpreting your XHTML page as HTML, it will not interpret SVG elements as anything other than custom markup.

    For reference, here is an example of SVG in XHTML that works in Safari, including using JavaScript to create SVG elements.

    Edit: Additionally, you have broken XHTML; your <link> tag is missing a self-closing marker; see the validation results.

    The real problem, however, is that you have a broken URI for your <script> element when referencing jQuery:

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
    

    Throw a proper “http:” at the front of that URI and you will find your page working (if you fix the other two problems).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some problems with hashes in Chrome (and Safari). I'm using the hash
It's seems very curious but I'm having problems applying styles for javascript generated elements
Seems like the subtraction is triggering some kind of issue and the resulting value
I'm having some issues with a jQuery AJAX call. My code works fine when
I am having troubles with jQuery's load function and am hoping for some help.
Hey everyone. I am having some issues on my end and hopefully it's just
For chrome, firefox, and safari the following code seems to work and be able
I have stumbled upon a bug in Safari on iPad. $('#next_proj a').trigger('click'); .. does
I have a very strange issue that only affects webkit browsers for some reason,
I have been having a look to some post here related to the post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.