
This article discusses a new export extension for producing HTML files with CSS in Adobe Fireworks CS3. With this extension, you will be able to generate usable, production-ready HTML and CSS files with ease.
I will discuss the SmartCSS Exporter in depth to allow you to get the best results. Be prepared for increased productivity levels, as web page production now shifts into high gear.
The current development cycle for designing production-ready web pages goes something like this:
Oh my, this does sound like a duplication of work. Why is it done this way?
Delivering a page that is just one big bitmap is perfectly acceptable for a mockup, but if this were delivered as a finished web page, it would be both slow to download and likely to be considered unprofessional. Your clients would probably not be too impressed if you delivered six bitmaps as a finalized six-page website!
It is also likely that your design will need dynamic content (either edited by a tool such as Adobe Contribute, or generated by the server and database). As a result, you need the page to have the ability to expand vertically if more text or other content is added to it, without disrupting the page design.
The process of slimming down a design and making it less graphically oriented, while allowing the content to expand, is done using CSS and HTML. CSS is a standard way of declaring visual properties to HTML. It was designed with the aim of separating the design markup from the content, which is a good thing, as having everything all mixed up in the HTML code was both messy and troublesome. So, in recent years, producing a CSS version of a design has become a necessity in the workflow of commercial web design.
The ideal objective of CSS was total separation, but in many cases web designers do not get away completely from including some strategically placed <div> elements in the HTML code in order to get the page behavior they need and also match the design. Some may enjoy the extra work involved in converting a page design into something ready to upload to the live site. Personally, I don't have the time to do many CSS reconstructions, even though I have a solid understanding of CSS.
Wouldn't it be nice if you could simply create your designs in Fireworks and then, with a click of a button, your page would be converted into production-ready HTML and CSS?
SmartCSS analyzes the structure of a Fireworks document and produces the necessary CSS and HTML source code. It has a few nice tricks up its sleeve, too. Here are some of its basic features:
The motivation for creating SmartCSS was simple: it is something I would really like to use myself.
To use SmartCSS:
Read on to learn more about how to use this extension.

Figure 1. Choosing Export and Source options in the Export dialog box.
In order to make the most of this article, you need the following software and files:
Note: Windows Vista users will need to run Extension Manager in administrator mode in order to install the extension properly.
Prerequisite knowledge
A basic understanding of using Fireworks and HTML.
John Wylie is a software developer from the UK and has been programming since the early 1980s. A self-confessed programming addict, he works with multiple programming languages and operating systems—anything from mobile, desktop, web, or enterprise applications. John is currently working as an independent software vendor and contractor, and is open to interesting contract offers.