[TYPO3-templavoila] FCE - link inside of <h3>
Barbara Wijbenga
bwijbenga at chello.nl
Tue Mar 24 10:15:10 CET 2009
Hi all.
I just started using Flexible Content Elements, and I don't get all of it
yet. I can make a layout of two columns, but this I can't:
This is the HTML template:
------------------------------
<div class='container-itemright'>
<a href=''>title</a>
<div class='text'>text</div>
</div>
------------------------------
The href is being filled with an Attr. field.
I want an <h3> around the <a>.
If I use "wrap=<h3>|</h3>" in the DS, the <h3> ends up inside the <a> tags.
This is obviously not what I want.
And when the href Attr. field isn't filled, the <a> tag shouldn't be made at
all.
That's why I started with this:
------------------------------
<div class='container-itemright'>
<h3>title<h3>
<div class='text'>text</div>
</div>
------------------------------
But this way, I have no idea how to get the <a> inside of the <h3>.
What is the best solution for this?
Thanks,
Barbara
More information about the TYPO3-project-templavoila
mailing list