Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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?

    #131386

    oh 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.

    #131387

    hello 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:

    &nbsp;
    <p>
    <div class="abc"><span style="def">some content</span></div>
    &nbsp;
    <p>
    <div class="abc"><span style="def">some content</span></div>
    &nbsp;
    <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?

    #131388

    Hi,

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Textblock with HTML Links – Serious Problem’ is closed to new replies.