Tagged: Textblock
-
AuthorPosts
-
July 25, 2013 at 11:46 am #26722
Hallo all,
I want to code a naviagtion into the landing page asa kind of jumppage. I have a Textblock where I want to have several div containers with links. The pattern is:
<div class="abc"><span style="def">some content</span></div>
<div class="abc"><span style="def">some content</span></div>
...
When I save the code, the backend somehow generates some extra code between the containers and the links are gone:
<div class="abc"><span style="def">some content</span></div>
<div class="abc"><span style="def">some content</span></div>
...
The second problem is, that a change from “Text” to “Visuell” somehow changes the complet code structure and content of the HTML entered into the “Text” Editor.
Is there a way to make sure that the html I write is taken tio the source code?
July 25, 2013 at 11:47 am #131386oh sorry, the code I wrote was not displayed correctly – the links and blanks did not appear in the post. try to fix this later, sorry.
July 25, 2013 at 3:29 pm #131387hello again,
here again the code part I tried to write into the text block:
<a href="link_1">
<div class="abc"><span style="def">some content</span></div>
</a>
<a href="link_2">
<div class="abc"><span style="def">some content</span></div>
</a>
...When I save the code, the backend somehow generates some extra code between the containers and the links are gone:
<p>
<div class="abc"><span style="def">some content</span></div>
<p>
<div class="abc"><span style="def">some content</span></div>
<p></p>The second problem is, that a change from “Text” to “Visuell” somehow changes the complete code structure and content of the HTML entered into the “Text” Editor.
Is there a way to make sure that the html I write is taken to the source code?
July 26, 2013 at 4:52 am #131388Hi,
Maybe you should try this:
<div class="abc"><a href="http://kriesi.at.com"><span>some content</span></a></div>
<div class="abc"><a href="http://www.themeforest.com"><span>some content</span></a></div>Instead of enclosing the whole div with the anchor tag, just include the span.
Regards,
Ismael
-
AuthorPosts
- The topic ‘Textblock with HTML Links – Serious Problem’ is closed to new replies.