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

  • SEARCH
  • Home
  • 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 3238392
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:50:54+00:00 2026-05-17T17:50:54+00:00

I would like to be able to use vml objects on a page rendering

  • 0

I would like to be able to use vml objects on a page rendering in standards mode rather than quirks mode. I’ve found fragments of answers scattered around but can’t figure it out. Raphael pulls it off somehow but I can’t reverse it to figure out what’s happening. Any basic working example would be great.

  • 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-17T17:50:55+00:00Added an answer on May 17, 2026 at 5:50 pm

    I think I have it figured out. Step 1 is importing the vml namespace though javascript.

    document.namespaces.add('v', 'urn:schemas-microsoft-com:vml', "#default#VML");
    

    This got some random vml samples to work in quirks mode but not standards. They key is that elements require a unit for measurements where quirks mode will assume px if a unit is not provided. Also shapes have to be styled with position:absolute; although lines apparently do not need this part.

    Here’s a sample with 2 ovals. Both ovals will render in quirks mode but the blue oval will not show in standards mode.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head></head>
    <body>
        <script>
            document.namespaces.add('v', 'urn:schemas-microsoft-com:vml', "#default#VML");
        </script>
        <v:oval style="width: 100; height: 50" fillcolor="blue"></v:oval>
        <v:oval style="position: absolute; width: 100px; height: 50px" fillcolor="green"></v:oval>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to be able to use the created functions and objects I
I would like to be able to use ediff with git mergetool. I found
I would like to be able to use the same Session variable when transferring
I would like to be able to use the same drawable to represent both:
I'm new to the iPhone and I would like to be able to use
This is really just for my own use: I would like to be able
I would like to be able to use a feature in PTX 1.3 which
I would like to be able to use DataAnnotations when working with my model,
I would like to be able to use Spring using setter injection into Scala
I would like to be able to use the ASP.Net Repeater control to create

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.