MACROMEDIA COLDFUSION 5-DEVELOPING Manual do Utilizador Página 34

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 47
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 33
ColdFusion MX 7 Getting Started Experience Tutorial Page 34 of 47
</tr>
</table>
12. Save and browse the index.cfm page. You might get an error if you used the hex value #FF0000 for the color red
instead of using the word red for the value.
Figure 51. The extra
number sign (#) used in the
font color’s hex value
causes ColdFusion to throw
an error
The message cites a possible missing ending number sign (#) on line 32. (Your line number might be slightly
different.)
13. If you used the hex value instead of the word red, modify the code <font color="#FF0000"> to include two
number signs (##FF0000). This escapes the number sign, essentially telling ColdFusion that this is a number sign
that you want it to ignore, since it is not a ColdFusion variable but needs to be printed in the HTML.
14. Save and browse the page again to display one art piece.
Figure 52. A record of data
from the database displayed
in the browser
Vista de página 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 46 47

Comentários a estes Manuais

Sem comentários