473,382 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

svg in Internet Explorer with adobe plugin


Hello,

Note: this is a IE 6,7 and 8b1 only html example, my problem does not
appear in other browsers with native svg support. For them i have a
working valid "XHTML 1.1 plus MathML 2.0 plus SVG 1.1" Version :-)

I have an svg element embedded into a html.
Sadly the global definition in <svg:style type="text/css"is not
overwritten by the special style attributes of the circle and polyline
elements:

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg" xml:lang="en">
<head>
<meta http-equiv="Content-Style-Type" content="text/css">
<title>SVG CSS Test</title>
<object id="AdobeSVG"
classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2">
</object>
<?import namespace="svg" implementation="#AdobeSVG"?>
</head>
<body>
<p id="playground">
<svg:svg xmlns:svg="http://www.w3.org/2000/svg" x="0" y="0" height="200"
width="200" layerX="0" layerY="0">
<svg:style xmlns:svg="http://www.w3.org/2000/svg" type="text/css">
* {stroke:blue;fill: red;overflow: visible;}
</svg:style>
<svg:svg xmlns:svg="http://www.w3.org/2000/svg" x="30" y="30"
height="60" width="60">
<svg:circle cx="30" cy="30" r="30" style="fill: green;overflow:
visible;"/>
<svg:polyline points="60,30 30,60 0,30" style="fill:none; stroke:
yellow;stroke-width:3px;"/>
</svg:svg>
</svg:svg>
</p>
</body>
</html>

The circle should be filled green, the stroke of the polyline yellow.

Dropping the <svg:style type="text/css"results in a fall back to the
default values of fill (black) and stroke (none), with is not a solution
either.

In reality i get a string of the svg with ajax and import this to the
DOM. So it would be best if there is an easy automated way to change the
SVG to be displayed as in opera/firefox.

--
best regards
Holger Jeromin
Jun 27 '08 #1
0 1626

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: | last post by:
Hi, I want to write a small plugin/script/component (in .NET preferably) for internet explorer that can read information on a web page. More specificly: i want to read the html body of a...
2
by: Yurij Nykon | last post by:
Hi all. How can I detect the version of Flash-Plugin installed in Internet Explorer? In Netscape i can do this with following java script navigator.plugins.description But it doesn't works...
2
by: Tim Stevens | last post by:
Hello, This is the first time I have had to resort to posting on here, as Ive always been able to find a solution to my problems in the past by browsing postings by others. So, to start with I...
1
by: almir | last post by:
Hi, is there a way to develop a plugin for Internet Explorer with .net, is there a source in internet describing this? I need to develop a small plugin for intranet which starts local exe...
0
by: | last post by:
Hi, I want to write a small plugin/script/component (in .NET preferably) for internet explorer that can read information on a web page. More specificly: i want to read the html body of a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.