![]()
The Preview Browser is just like your Microsoft Internet Explorer browser, except that instead of using it to explore the Internet World Wide Web, you can use it to preview how your own HTML documents will appear with the Style Sheet you created in StyleMaker. This allows you to know exactly how your homepage will look as you create a style, before you publish it on the Internet. To use it, simply load a homepage from disk, and press
This enables you to configure StyleMaker to meet your needs and preferences. To view the Settings dialog, press
This enables you to preview your homepage through the preview browser while you create, modify and tweak your Style Sheet. To load a homepage from disk, press
Saving a Homepage with a Style This function will insert the Style Sheet into the correct position in the homepage currently loaded in the Preview Browser. To save your homepage with the current style, press
Applying/Adding a Style Sheet to a number of HTML documents (Apply To) This function allows you to insert the current style sheet into any number of HTML documents on disk. To use this function, press Use the Remove button if you wish to remove a file from the list. Use Remove All to remove all files from the list. Once you have made your file selection, press the OK button.
Viewing Homepage HTML with Style Sheet source This function (not visible in resolutions of 640x480 or lower) allows you to view the contents of the StyleMaker temporary file (tempdsm.htm) which contains your homepage (from the Preview Browser) with the Style Sheet source included. Press NOTE: Modifying and saving 'tempdsm.htm' within Notepad has no effect, as it is just overwritten when the homepage is refreshed.
What does the 'Auto Refresh' checkbox do? This checkbox, located on the far right hand side of the screen (not visible in resolutions of 640x480 or lower), forces StyleMaker to refresh to current homepage loaded in the Preview Browser whenever you modify an Item's properties. For example, if you were to change the foreground color of an Item, then StyleMaker would automatically refresh (reload) the current page with the new foreground color.
Style Sheets are basically a set of definitions inserted (or linked externally) into your web page that control the presentation of its content. Its primary advantage is that repetition of such tags as <FONT>, <STRONG>, and <ADDRESS> is not necessary. The style of your web page's content will totally rely on what you define in your style sheet. People with experience in word processing should be familiar with style sheets, as they can save a lot of time and keep a consistent flow of uniformity throughout a document. You'll wonder how you ever did without style sheets in HTML. The concept, however, of knowing how to structure your style sheets can be quite daunting and especically time consuming to be studying how they work, and how you should write one. StyleMaker's purpose is to eradicate this obstacle by incorporating a friendly graphical interface for you to quickly and effectively design your style sheets. Learn more about StyleMaker here.
This brief guide will allow you to modify the properties of HTML tags (eg, <B>: Weight: Bold, Font: Times New Roman, Style: Italic). Question: Do you want to preview the sheet with your own homepage? Answer: No. I'll just use the test page
Yes. How do I do it?
Say you wanted all the text between the <B> and </B> tags to appear Italic Time New Roman font, as well it appearing bold. Simply.... 1. Press Add New Item from the Styles tab 2. Enter <B> or select B from the list 3. Press OK 4. Click the Font tab 5. Select the Font checkbox, and select Times New Roman from the drop-down list, or type it manually. 6. Select the Style checkbox, and select Italic from the drop-down list, or again, enter it manually. You will now see that the text in the Style Item Preview Area has now changed to Times New Roman Italics, and that the Refresh button has turned red above the Preview Browser area. 7. Press The page you selected, or the test page, will have now reloaded and will contain all bold text in Italic Times New Roman. Now, repeat the same process from Step 1 with your own Items. You might decide that you want to add an Item for every tag in your document - but don't go overboard! Try modifying various properties such as foreground and background colors, page margins, text and word spacing for some interesting results. Once you have decided that the Style you just created works with your homepage, save the homepage to disk, and your page is ready for publishing! If you just want to save the style itself, you can save the style to disk (if you want to load it up again later), save the HTML to disk (saves without current homepage - non retrievable in this version), or add the style to the presaved styles list (for quick retrieval).
To make an advanced Style Sheet, you don't necessarily have to possess extensive knowledge about HTML, but rather of how it works, and how your documents are set up. Creating an advanced sheet is all to do with specifying Items. 1. Press Add New Item from the Styles tab. 2. Specify your Item Tags within Tags It is possible to specify tags within tags as Items. For example, if you wanted all <B> (bold) text to appear as Italic - Times New Roman, but only inside <P> (paragraph) tags, then you would specify the new Item as P B. Likewise, if you wanted all text within the <P> tags to appear Italic - Times New Roman, but only inside <B> tags, then you would specify the Item as B P. The amount of dimensions to your specification is not limited (for example, P B ADDRESS or even P B ADDRESS A:LINK). Class as Selector To use a Class as Selector, you will need to get into the HTML of your document through your text or HTML editor, and insert various tags which correspond to the Selector and Tag that you choose. By using this method, you can make different styles for one particular tag. For example, specifying P.mynewclass, and in your HTML document inserting <P CLASS="mynewclass"> means that all the text after it, until the P tag is closed with </P>, will be affected with the style you create for it. And you could then specify P.anotherclass, and insert <P CLASS="anotherclass"> into your document, and its style would be different to that of P.mynewclass (providing you create the style differently). ID as Selector This method is probably the most widely used one. There is no specification of a HTML tag in its name, nor does it only work for one tag in your document. ID selectors are always specified with a # preceding the name of the specification. For example, #mynewid. Once again, you need to edit the HTML of your document, and insert the selector into your tags. Note that your ID is not limited to one tag. For example, the text after <P ID="mynewid"> or <B ID="mynewid"> would appear with the same style you create for it (except for B, which, by default, makes text bold - which can, in any case, be overidden in StyleMaker by specifying Font Weight: Light). 3. Modify font, color, text and border properties for the Item It is possible to modify such properties such as word and letter spacing in the current Style Sheet standard (CSS1) supported by StyleMaker. However, in some browsers, not all properties are supported, thus will not be shown. If when you modify a property of an Item in StyleMaker it doesn't make the corresponding text in your document alter through the Preview Browser, we recommend not using this property until an update of the browser, which does support it, is available. 4. Follow on from Step 7 on creating a simple style sheet.
StyleMaker can load a format specifically designed for its use. All files of its kind have the extension DSM. To load a Style, press
StyleMaker can save to its own format (DSM) which stores all information about your style sheet. The advantage of saving in this format is that it can be re-loaded and re-used at a later date, whereas saving to HTML is non-retrievable (in this version). To save your Style to disk, switch to the Styles tab and press To save a Style for quick retrieval, we recommend using the Presaved Styles option.
This function will simply write the style sheet in HTML to a file you specify. Please note that your homepage will not be saved with it. To do this, save a homepage with a style. To save a style as HTML, click Save As... from the HTML tab.
Adding a Style to 'Presaved Styles' This pull-down menu, located in the Styles tab, enables quick retrieval of common styles used. Some sample styles are included with StyleMaker. To add a style to this menu, press the Add button along side it, and enter the title of the style. This name can be anything you want, not limited by file names.
Style Item Preview Area - What is it? Similar to the Preview Browser, it displays how your styles will look, but this preview area displays one Item at a time. It is useful as updates are quick, and the Preview Browser does not need to be refreshed every time you want to preview a new configuration. The Style Item Preview Area is located above the main program tabs.
Items are basically a definition for each element of your Style Sheet. Each Item contains a set of properties (font, colors, borders etc) which define the element's appearance. Your Style Sheet is totally made up of Items, and an Item can be added or removed from the Style Sheet at will. To find out more about how they work, we suggest making a simple style sheet.
By selecting (clicking) an Item from the list, you are retrieving all of its various properties into their respective selectors, including font, color, text and border properties. The Style Item Preview Area is also updated when you select an Item from the list.
To add an Item to the current Style Sheet, click Add Item from the Styles tab.
To remove an Item from the current Style Sheet, select the Item you wish to remove from the list and click Delete from the Styles tab.
A new Item's default properties can be acquired from an existing Item (therefore duplicating) by clicking Add Item from the Styles tab, and selecting the Acquire Defaults checkbox from the dialog that appears. Select an existing Item from the list, enter the new Item name, and click OK.
This tab is the program's nerve centre - when you select an Item here, or load a style sheet for example, all the various font, color, text and border properties will be updated. Save a Style Sheet Select an Item
Select the checkbox along side the property which you intend to modify, and either use its corresponding drop down list, enter the property value manually, or if applicable, use the Up/Down arrows to increase/decrease its value. The Size property is measured in Points (pt). For those more comfortable with a standard Windows font selection dialog, click the Font... button to adjust the various font properties.
There are two properties within this tab. One for foreground color, and the other for the background color of the Item. Both are controlled by the Red, Green, and Blue (primary color) sliders. The color gradients below each slider help you find the color you desire. You can also pick a color from the palette below the sliders, by using the Windows color dialogue (click "Palette..."), or by loading the foreground and background colors from the <BODY tag in a HTML document (click "From HTML"). You can add the current color to the common color list by clicking the Add button. To stop one of the two properties from being included in the Style Sheet, switch to the Font tab and remove the check from the corresponding property (foreground color or background color).
Select the checkbox along side the property which you intend to modify, and either use its corresponding drop down list, enter the property value manually, or if applicable, use the Up/Down arrows to increase/decrease its value. All numeric based properties are measured in Points (pt).
Select the checkbox along side the property which you intend to modify, and either use its corresponding drop down list, enter the property value manually, or use the Up/Down arrows to increase/decrease its value. All properties are measured in Points (pt). Please note that in this version the border properties have no affect on the Style Item Preview Area, but will still appear in your Style Sheet.
elect the checkbox along side the property which you intend to modify, and either use its corresponding drop down list, enter the property value manually, or if applicable, use the Up/Down arrows to increase/decrease its value. All numeric based properties are measured in Points (pt). Please note that in this version the advanced properties have no affect on the Item Previewer, but will still appear in your Style Sheet.
Within this tab you will find all the HTML you need to insert into your documents. Please note that StyleMaker has the capability of inserting Style Sheets into your documents - this tab is primarily for inserting advanced style sheets into documents. You can copy the HTML source to the clipboard, or you can even save it to a separate file from this tab if you wish. |
© 1997, Danere Group.