This edition is based on KompoZer 0.8b1

On opening, the screen layout of Kompozer 0.8 looks
familiar.
Look more carefully some important differences from earlier versions
will become obvious.
At the top of the page on the composition toolbar a new HTML Icon appears. The remaining toolbars are the same as previously.
Moving to the bottom differences are more obvious. The status bar is unchanged but the edit mode toolbar has been reorganised, in fact its function has been split between a new edit mode toolbar and a drop down selection box at the right hand side. The Normal, HTML Tags and preview tabs from earlier versions have been moved to the drop down box and the tabs allocated to Design view, Source view and Split view. The Design view tab actually shows the view selected in the drop down box, the Source tab shows the source code and the Split view splits the screen, the upper section showing the design view and the lower section showing a fragment of the source code.
The working of these views will be covered later.
The sidebar may be opened on the left hand side by pressing F9. In earlier versions this opened the Site Manager, now the sidebar has two modes of use – Site Manager or DOM Inspector. Either may be selected by clicking the corresponding bar.
Fig 2
DOM Inspector appearance

The Document Object Model (DOM) provides a structural representation of the page which is useful during development for navigation and debugging. In design view the Status bar provides a view of the slice of the tree leading to the element selected. The DOM inspector in addition shows other branches of the tree structure. Three tabs provide HTML view, CSS view and a split presentation showing both views.
When the HTML tab is selected clicking any element in either the Design view pane or the DOM pane highlights the same element in the other pane which will be scrolled if necessary.
Figure 2 shows how the DOM inspector would look when inspecting the first item on the page menu. You may note several things:
When CSS view is selected clicking an element in Design panel reveals all style declarations that affect the element. (This is much quicker than having to search through a stylesheet to see what is involved.)
The HTML + CSS view opens two separate panes showing both views simultaneously. You are likely to find this view less useful due to the small area available for each pane.
The DOM inspector is by definition an inspector, it cannot be used to change or edit the document in any way.
KompoZer 0.8 provides new ways of editing files and of selecting the items to be edited. While this adds power to the application it also adds complexity.
Items may be selected and edited using the mouse and keyboard as for earlier versions.
The DOM inspector provides a quick way of navigating around a document to locate an area for editing but it does not select anything. The Status bar conversely can be used to select an element ready for editing e.g. copying or deleting.
When selecting using the Status bar if you click on a tag, as well as highlighting it, the element also has a dotted outline around it. If you now copy the element the outline is also copied. To avoid this you must remove the mouse hover from the tag, the element remains highlighted and may be copied without the outline. Alternatively you can later delete the inline style used for the outline.
KompoZer
0.8b4 has reinstated the spelling checker which was not available
with earlier releases of 0.8. Additional dictionaries may be installed as an extension in the
usual way. (Europeans will also be glad to know
that
one with British English spelling
is available.) Once additional dictionaries are installed it is
possible to choose which is to be used via Edit > Check Spelling
> Language.
When Split view is selected, clicking any element in the upper pane brings its source code into view in the lower pane. Typically this a very limited view, e.g. one item in a list, but by using the DOM inspector its position in the DOM is highlighted and by clicking its parent there the source now covers all the content of the parent. Thus, for instance, you can reveal the source code for a complete list, it's containing division, the complete body or, by selecting 'html' in the DOM inspector all the code for the page.
Being
able to view the source and being able to edit are however two
different things. Some edits can be made and will stick, others, at
present at
least, cannot.
Some examples:
Switching to source view the listing is almost identical to the Split view when the html element is selected. Some differences are:
On the Composition toolbar the new button 'Open the current document in an external text editor' does just that. You can set your preferences to select which editor to use.
After making any changes in the external editor save the file and return to KompoZer. You will now be invited to accept changes or discard changes. Accepting changes will synchronize KompoZer with the changed file.
When using an external editor the view differs from that in split view or 'source' view. An editor like Notepad++ provides line numbering. This is a valuable when you encounter validation errors. The line numbers returned on the W3C validation report[Ref2] or by Marc Gueury's HTML Validator[Ref3]match those on the editor so that problem areas may be immediately identified and possibly quickly corrected.
While the external editor is a valuable tool experienced users are likely to be the main beneficiaries. Others are advised to use it only on pages encoded as ISO-8859-1. For more details see the appendix to this page.
Yes KompoZer 0.8 has horsepower in places were you might think are unknown.
In the Site Manager if you select a view that includes CSS stylesheets double-clicking any stylesheet will open it in a new tab offering a simple text editor.
This is just a text editor. It does not do any checking on the accuracy of the code but this is an advantage because it allows you to enter code that is out of the scope of KompoZer's CSS editor. This includes the parts of CSS2 which are not covered and also of course CSS3. It is also possible to reformat or comment the file as you prefer.
To save the file do not click the save button. (If you do so an Alert window will open and, if you click OK, the file will be converted to HTML which is something you do not want.) Instead just close the window (using the red X) and you are presented with an option to save.
Alternatively when in this text editor the external editor remains available (via the HTML button). For more detail see Stylesheets (4).
Remember that, while these editors allow you to reformat and comment stylesheets, if you edit any stylesheet using the CSS editor all comments will be stripped and formatting restored to the default.
KompoZer 0.8 is also capable of saving and editing php files and creating and editing fragments of code intended for use as php includes.
Any web page may be saved to a file and given the extension 'php'. Adding the php specific code is probably best done using the external editor as detailed above.
If you need to create a php code fragment as an insert you can use the following method.
In source view you should now see
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta id="_moz_html_fragment">
</head>
<body>
<p>Here you will find the code you want to appear in the final of php file</p>
</body>
</html>
If you return to the HTML Text editor all you will see is the text corresponding to that shown emphasized.
The result may be edited as any of the modes described above under Editing HTML files.