Discussions

Expand all | Collapse all

HTML Text example using Well-Formed Elements

  • 1.  HTML Text example using Well-Formed Elements

    Posted 9 days ago
    I am a noob with html, but usually use examples people have made and tailor them as I understand them. I wrote the snip below attempting to have a bold, black text, followed by a blue text. It works, except for it enters a line break between the two elements. What am I doing wrong?

    "<div style=\"color:black;\"><b>" & [RM Audit Report Question - Paragraph] & " - </b></div>" & "<div style=\"color:blue;\">" & [Paragraph and Audit Key - Score] & " " & ToText(Round([Paragraph and Audit Key - Score Percentage]*100)) & "%</div>"

    ------------------------------
    Mike Tamoush
    ------------------------------


  • 2.  RE: HTML Text example using Well-Formed Elements

    Posted 9 days ago
    Replace div with span.  A div is a block level argument and automatically creates a line break.

    ------------------------------
    Paul Peterson
    ------------------------------