Hi,
I have created a new section link layout and have used the variable <actinic:variable Name="SectionImageFileName"/> in the css as a backgound image. The image is showing up in ff and IE 7 & 8 but not in the Actinic preview pane.
Can anyone explain why?
I have used the following code for my new layout:
<style type="text/css">
.section-bg {
padding: 0;
margin: 0;
border: 0;
height: 100px;
width: 150px;
background: url('<actinic:variable Name="SectionImageFileName"/>') 0 0 no-repeat;
}
</style>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="section-bg" align="center" valign="top" width="150" height="69">
<a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self">
<img src="thumbnail-swirlv2.png" alt="<actinic:variable name="SectionName" encoding="strip"/>" border="0"/>
</a>
</td>
<td style="padding: 5px;" align="left" valign="top" width="90%">
<b><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><actinic:variable name='SectionName'/></a></b><br />
<actinic:variable name='SectionDescription'/>
</td>
</tr>
</table>
Thanks!!!!
I have created a new section link layout and have used the variable <actinic:variable Name="SectionImageFileName"/> in the css as a backgound image. The image is showing up in ff and IE 7 & 8 but not in the Actinic preview pane.
Can anyone explain why?
I have used the following code for my new layout:
<style type="text/css">
.section-bg {
padding: 0;
margin: 0;
border: 0;
height: 100px;
width: 150px;
background: url('<actinic:variable Name="SectionImageFileName"/>') 0 0 no-repeat;
}
</style>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="section-bg" align="center" valign="top" width="150" height="69">
<a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self">
<img src="thumbnail-swirlv2.png" alt="<actinic:variable name="SectionName" encoding="strip"/>" border="0"/>
</a>
</td>
<td style="padding: 5px;" align="left" valign="top" width="90%">
<b><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><actinic:variable name='SectionName'/></a></b><br />
<actinic:variable name='SectionDescription'/>
</td>
</tr>
</table>
Thanks!!!!
Comment