Preview Style Sheets or Server Side Scripts
You can preview Style Sheets directly in WeBuilder or automatically open them in specified Web browser.
Preview without leaving WeBuilder
To quickly preview CSS document without leaving editing environment, click Preview tab at the bottom of document window.
You can also use one of the Split Screen tabs at the bottom of document window, to switch to horizontal or vertical split screen preview mode which allows you to edit code and preview results instantly.
Style sheets can be previewed in two ways
- Based on automatically generated web page which generates content for each selector
- Based on any HTML document of your choice
Style sheet preview mode can be selected using Preview toolbar.
To preview CSS document in a Web browser
- On the Tools menu, point to Preview In.
- On the Preview In submenu, click the Web browser you wish to use.
Previewing server side scripts
Server side scripts such as PHP or ASP need to be executed on web server, before correct preview can be generated. WeBuilder provides a feature called mappings, which passes scripts through web server before previewing them.
Mappings allow to map your local file system or FTP folders to web addresses. For example, you can map c:\wwwroot to http://localhost/
To add, edit or remove mapping:
- On the Options menu, click Preferences.
- In Preferences window, click Preview folder.
- Click Mappings.
- Click Add, Delete or Edit, to add, delete or edit a mapping.
Note
You need to have web server installed on your computer to preview server side scripts locally without uploading them to web. And your web server must be configured so that it can run these scripts. |