looking at the code generated by the fragments:
the FragmentTitle becomes the contents of the < H1>< /H1> attributes. and the FragmentText just simply gets listed below the < H1> entry.
Can I change the code generated by the fragment to become something like:
this would allow me to play about with the CSS style (add a box around the whole of the fragment for instance) for that particular Fragment and all similar fragments.
perhaps the Fragment concept is not the way to go?
kev
Code:
<h1 class="subheading"><actinic:variable Name="FragmentTitle"/></h1> <p><actinic:variable Name="FragmentText"/></p>
Can I change the code generated by the fragment to become something like:
Code:
<div id=MyFragment> <h2 class="myFragmentHeading"><actinic:variable Name="FragmentTitle"/></h2> <actinic:variable Name="FragmentText"/> </div>
perhaps the Fragment concept is not the way to go?
kev
Comment