Hi Philippe, many thanks for that! Very helpful links. Surprised that I hadn't been there before. Maybe its just that the other browsers are more forgiving... Microsoft's Visual Web Developer includes the following doctype when creating a new html page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> This is the doctype on most of the files on my website, so I added it to my html file (containing the embeded SVG files), and the SVG now displays correctly. Maybe VWD will add <!DOCTYPE HTML> when that becomes a standard.
I have not yet uploaded the corrected file because there's another problem: the flash player is not rendered (in IE9). I know there are issues surrounding the <audio> tag, so still do this using a third party player. I'll be taking a closer look at this tomorrow, and uploading the (hopefully) corrected file when I'm done. Audio is not really on-topic for this forum, but if anyone has any bright ideas I'd like to hear them! :-) Best, James --- In [email protected], "philsvg" <philsvg@...> wrote: > > Hi, > > MS says in http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx > that you should use an html5 doctype : <!DOCTYPE html> but it is not exact, > because html5 doctype is not fixed. You must use a valid doctype that you can > find to http://www.w3.org/QA/2002/04/valid-dtd-list.html . > > So, add add a xhtml doctype to your page and it will be ok, for all svg > compliant navigator : Firefox 3 and 4, opera and now ie9. > > I solve my IE9 compatibility issue by adding this doctype in my printing > window feed by js: > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > All my frames used equivalent doctype for frame, and child pages using quirk > html and embed tag linking to svg display properly, "out of the box" for EI, > with perfect html<->svg communication. > > My last problems comes from chrome and safari : they break embeded svg sizing > ... > > this solution for IE in french : http://labo.visualkit.com/support/node/120 > > Philippe > http://www.visualkit.com > don't hesitate to inspect my (dirty) code to solve your issues. > > --- In [email protected], "j.ingram48" <j.ingram@> wrote: > > > > Hi, > > > > Just installed IE9 (Windows Vista Ultimate 64bit) to test this link [1], > > but it does not display properly. It works in Firefox, and (I'm told) in > > all the other major browsers. > > Dont want to clutter my code with workarounds for IE, but is there a simple > > way to make it work in all browsers? > > > > Thanks, > > James Ingram > > > > [1] http://james-ingram-act-two.de/compositions/study2/study2b/study2b2.html > > > ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

