@monksnake: I do not fully inderstand why the same kind of code already worked within another div, but you solved my problem. Thank you very much!
Gert
I just tried blocked names for colors, but no luck :-(
Someone else maybe.
Just to be complete, the header-div is surrounded by a div called wrapper.
Gert
Hi,
Since I was helped so well with my last question, I'm hoping to solve this problem too with a little help. My mane navigation is coded like this (html):
<div id="header">
<ul>
<li>home</li>
<li><a href="/portfolio.php">portfolio</a></li>...
Hi, my textlinks in a certain div have the following style:
#main a{ color:#6cc000; border-bottom:1px dotted #FF6600;text-decoration:none; font-weight:bold}
I also have two imagelinks in the same div, but I don't want these to be underlinde (with border-bottom) so I added a style...
What I want is to copy the part in red to another xml-file (target-xml).
I created two objects:
1. objBronXML - Which contains the source XML
2. objWerkXML - Which contains the target XML
Then I created a string:
strOutPutXML - Which contains the part in red (See above)
Maybe the rest of my...
Hi,
I'm working with two xml-documents: a source-document and a work-document. Whenever a new node is added to the source it should be copied from the source to the workdocument. I wondered if this could be achieved at once, instead of creating each element at once.
Confused? Here's an example...
I have this very annoying problem that from one day to another I got this message for every page on the site I visit. The problem certainly isn't in my code and yes, I have tried to set vbscript in the page itself and have tried leaving it out. The default script setting in IIS is set to...
I pretty much feel like an idiot, but I'm still struggling with problem. I have the feeling I'm close to the solution, but I stil haven't got it working though. To give you a better idea of the XML I'm dealing with, I'll post the complete one instead of a fragment.
I made some modifications to...
Thank you Jon, it seems to work fine. But I have to test it some more and expand it a little bit, to make it work with other tags like <img> <ul> etcetera. So the <p> can be a <img> or a <ul> as well.
Gert
Input looks like this:
Hallo wereld ik ben <strong>vetgedrukt</strong>. En ik dan weer niet.
<p>Dit is een mooie tekst gebruik van leestekens is er natuurlijk niets aan de hand. Kijken wat er nu gebeurt.</p>
Gert
After implementing the suggested solution I discovered a new problem. Editors are allowed to enter elements like <strong> or <a> etcetera. If they do that my output looks like this:
<p>Hallo wereld ik ben</p><strong>vetgedrukt</strong><p>. En ik dan weer niet. </p>
<p>Dit is een mooie tekst...
Stop, don't look any further, I've found the solution myself. I had to use another ServerObject, "MSXML2.ServerXMLHTTP.4.0" instead of "MSXML2.XMLHTTP".
Function GetXMLFile(StrFile)
Dim ObjHttp
Set ObjHttp = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
'Old Code: Set ObjHttp =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.