I am starting to redesign the ACT_Primary.html file, and am starting with fairly simply stuff until I get the hang of it. The first thing I have done is to remove the NETQUOTEVAR:LOGOIMAGE and replace it with the search field (which was somewhere else).
The html looks like this -
(I turned the border on for debugging purposes)
Now when I look at this in my html editor 'preview' the table consists of one row, split down the centre with the search box right aligned to the centre of the screen (as would be expected (by me)).
But when I save the file and preview the page in actinic it comes out differently -
The columns are no longer equal widths, the left column is much smaller, and the text is centered not right aligned. I can force the column bigger by using the 'width' attribute, but still the alignment doesn't work.
What's going on here? Why is actnic behaving differently (and incorrectly?). I realise that my html editors preview isn't going to be accurate because it doesn't understand the variables and just prints them on the screen as text - but I don't see why actinic apparently ignores the html table attributes, unless the variable itself has attributes to it???
The html looks like this -
<table width="100%" border="1" cellspacing="0" cellpadding="5" background="palette2bg.gif">
<tr>
<td align="right"> NETQUOTEVAR:SIMPLESEARCH</td>
<td align="right">NETQUOTEVAR:FOOTERGUIDE </td>
</tr>
</table>
<tr>
<td align="right"> NETQUOTEVAR:SIMPLESEARCH</td>
<td align="right">NETQUOTEVAR:FOOTERGUIDE </td>
</tr>
</table>
Now when I look at this in my html editor 'preview' the table consists of one row, split down the centre with the search box right aligned to the centre of the screen (as would be expected (by me)).
But when I save the file and preview the page in actinic it comes out differently -
The columns are no longer equal widths, the left column is much smaller, and the text is centered not right aligned. I can force the column bigger by using the 'width' attribute, but still the alignment doesn't work.
What's going on here? Why is actnic behaving differently (and incorrectly?). I realise that my html editors preview isn't going to be accurate because it doesn't understand the variables and just prints them on the screen as text - but I don't see why actinic apparently ignores the html table attributes, unless the variable itself has attributes to it???
Comment