Dear community,
I have a problem. I am using MODx evolution (0.9.x), installed on a local (xampp)apache-server. and i am a newbie.
so long everything works fine with my modx project, but now a problem occured, i could not solve on my own. so i ask you for help.
the problem is, that MODx is creating unintended link-tags <a> in the sourcecode! e.g. i have a template using nesting <div>-containers. in the MODx-admin-GUI it looks like this:
<div id="main">
<div id="mainbild">
<img src="[*mainbild*]" alt="">
</div> <!-- end #mainbild -->
<div id="maintext">
<h2>[*menutitle*]</h2>
[*content*]
</div> <!-- close #maintext -->
</div> <!-- close #main -->
but firebug (a firefox addon) is showing the follwing results:
<div id="main">
<div id="mainbild">
<a><img alt="" src="assets/images/mainbild.jpg"></a>
</div><a> <!-- end #mainbild --></a>
<div id="maintext">
<h2><a _moz-rs-heading="">Wir über uns</a></h2>
<a> </a>
<p><a>Auf den folgenden Seiten möchten wir Ihnen mehr über den Bienezüchterverein Karlsruhe e. V. erzählen und Ihnen einen Einblick in unsere Arbeit gewähren. Wählen Sie aus folgenden Menüpunkten aus:</a></p>
<p></p>
<ul><li><a title="Verein" href="/modx/index.php?id=3">Der Verein</a></li>
<li><a title="Imkerschule" href="/modx/index.php?id=5">Die Imkerschule</a></li>
<li class="last"><a title="Vorstand" href="/modx/index.php?id=8">Der Vorstand</a></li>
</ul>
</div> <!-- close #maintext -->
</div>
for example i don’t want no link-tags <a> between the <h2>-heading. and also the following text in the <p>-tags should not be put between link-tags <a>. are you able to account for this? wants goning wrong? where is my mistake?
the whole thing is very unsatisfying because i want to define styleproperties for links (<a>-tags) for the whole block between the <div id="main">-containers in a css-file and now headings or full paragraphs start to hover, when pointin on them with your mouse-cursor.
i hope you could understand my problem (despite my bad english) and i want to thank you in advance for your thoughts, and ideas and hopefully your solutions. thank you
regards
daniel