Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Displaying Text

September 17, 2001

Unlike with HTML, it isn't enough to be able to just type in some text and expect the Curl plug-in to be able to interpret it as text:

This is some text

A web browser would display the above sentence, but if you saved it as a Curl page, you would receive the following error:

However this is easy to fix, all you need to do is make sure that you include the Curl applet herald, and then the text can be placed beneath:

{curl 1.7 applet}
{applet license = "development"}
This is some text that Curl can display

All heralds in this book are 1.7 (IDE v1), but if you change them to 1.6, you can get them to work in the beta 5.1 IDE.

Curl is case-sensitive so make sure you don't specify it as the following:

{CURL 1.7 applet}
{applet license = "development"}
This is some text that Curl can display

otherwise you will still generate an error.

The text can be augmented by a variety of styles (which we will look at shortly) but when no styles are specified you will see that Curl defaults to using black, 12 point Arial font for text:

Curl as HTML/CSS
Early Adopter Curl
Headings


Up to => Home / Authoring / Languages / Curl / Early




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers