Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. VML Issue in IE6 Strict Mode

VML Issue in IE6 Strict Mode

Scheduled Pinned Locked Moved Web Development
htmldockerhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    T Smooth
    wrote on last edited by
    #1

    I am having some issues that I don't understand with VML in IE 6 (also in IE7). I've searched the net for problems between VML and strict mode but haven't been able to come up with anything. The page, listed below, has a div element set to be 800px wide with a border so you can see it and a height of auto. The page SHOULD render a blue Diamond in roughly the center of the div . When the page is rendered in quirks mode (Just add an html comment above the doctype) it works as I expect. When the page is rendered in strict mode (remove any comments from before the doctype), the div collapses and the shape disappears. In some cases of me playing around with the numbers, the shape would fall to 0,0 px and be outside of both the div and group container objects. What am I doing wrong or does VML not work properly in strict mode? The page (as is it will render in quirks mode, delete the html comment before the DOCTYPE to render it in strict mode): Untitled Page

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups