Have you heard of Uniblue's Registry Booster 2009?
Clean, repair and optimize your system with this Free Stability Scan.
Learn more here »

Using Coffee Cup HTML Editor 2008: using the features that really make it sing

Article by Profacgillies (6,646 pts )
Published on Dec 7, 2008
Part 3 of 11 in the series: CoffeeCup software

Coffeecup.com is the home of a range of low cost small scale applications for web developers. This article shows how to exploit some of the features of their first product, an HTML editor.

Introduction

In a previous article in this series, I suggested that Coffee Cup HTML editor is a very helpful low cost HTML editor. In this article, we shall explore some of the less obvious features which make a real difference to its usefulness.

Before you start

Before you do any editing it is extremely useful to set up the editor to work the way that you want it to. The best place to start is at Preferences on the Tools menu. Under General preferences, you should ensure that the editor defaults to Code editor and then you need to decide whether you want to develop HTML in 4.01 Transitional or XHTML 1.0 Strict, which will determine what page is generated when you open your first page.

The next key option to set for the serious developer is to set the browsers available for testing pages. This is set at the Testing and Uploading tab. This allows you to set up a range of browsers for testing purposes: I have Opera, Firefox, Google and IE7 setup.

The other key tab before you start is Directories. By setting these preferences at the start of a project, you will save yourself many steps each time you open or save a file.

When you do start

The File>Blank new page option provides a blank page with a header determined according to the preferences set for HTML or XHTML. If you are importing old HTML, then the Document > Convert to XHTML and lower case is extremely helpful.

If you are creating HTML from Word documents (see my series of articles at http://www.brighthub.com/office/home/articles/10938.aspx as to why you might be doing this!) and have paragraphs defined by <p> and </p> tags and you wish to create bulleted or numbered lists, then the Edit > Strip HTML from selected text is extremely useful. Highlight the text you wish to turn into a list, then use the Edit > Strip HTML from selected text option then use the List toolbar button to convert this passage into a list, either numbered or bulleted.

The toolbar provides quick ways to add links, images, and formatting and the final button provides a shortcut to the test in external browser function.

When you think you have finished

The preview mode is based upon Internet Explorer: you should use the check in an external browser function to check compatibility with Firefox at least as well. There is a validate HTML mode on the Document menu, but I have found its use frustrating. A much better option is to use the Web developer add-on within Firefox, with its validate local HTML and local CSS options. If you have this add-on installed, then it is a simple step to use the view in external browser option with Firefox to check your code.

If you have used the CoffeeCup add image facility, you may have a parameter within your img tag of align=””. This will upset any W3C based compliance check. It is usually unnecessary, so you can use Edit > Replace to delete it by putting align=”” in the Find box, and leaving the Replace with box empty. In CoffeeCup HTML Editor you can search the current file, all open files, or all files in a specific directory. The latter is the most powerful option but use with care it happens in the background with no option of confirmation.

Preferences tabs

General tabTesting and uploading tabDirectories tab

CoffeeCup software

This is a series of review articles that cover applications developed by CoffeeCup software (www.coffeecup.com). They provide of a range of low cost small scale applications web developers with a specific purpose in mind including an HTML editor, FTP client and a Flash development tool.
Profacgillies (6,646 pts )

Alan has been Professor of Information Management at the University of Central Lancashire since 1994. He graduated from The Queen's College, Oxford in 1984 in Chemistry . His PhD, probably the first... read more

Leave a Comment

Name:
Email (required, must be legitimate):
Subject:
Your Comment:

2000 characters maximum. Characters remaining: 2000

Enter the code above:
   

  Channel Sponsors  
Free PC Scan
Increase PC stability. Scan your PC for common registry errors.
   




Bright Hub - Science & Technology Articles, Buyer's Guides, How-To Tips and Software Reviews
About Bright Hub | Contact Us | Advertise with Us | Become a Writer | RSS | Site Map | Terms of Use | Privacy Policy | Copyright Policy
©2009 Bright Hub Inc. All rights reserved. Page copy protected against web site content infringement by Copyscape