Setting up a cHTML page
After you define the appropriate doctype, and also the document encoding if needed, creating a cHTML page is just like setting up a standard Web page.
To create and set up a cHTML page: - Choose File > New Page.
- In the document window menu
(in the upper right side of the document window), choose DocType > i-mode HTML [1.0-5.0]. - If you are developing a Japanese cHTML site, choose File > Document Encoding > Japanese (Shift_JIS) and click OK.
- To set the layout view to simulate the page and type size of a phone browser, move the pointer over the document window, choose View > Browser Profile from the context menu, and then choose a profile from the list.
- To specify a page title, see Changing the page title.
Note: The page title is saved as a bookmark name on the phone when users bookmark a page. - To set text and link colors or a page background, see Applying images or color to the page background and Setting the default color for text or links in a page.
To organize the page into different sections, you can use horizontal rules.
To save a page as cHTML/iHTML: - Choose File > Save As, and then type a file name.
- To save the file in your site folder, choose Root from the Site Folder pop-up menu.
The most efficient way to develop an i-mode site is to set up a template page in your site and save it as a cHTML page with your usual browser view selected. Then you can quickly create new pages with these characteristics by opening your template page in the site's Templates folder.
|