How To: Centering HTML exports in Fireworks
5 Comments Published by boris March 23rd, 2012 in technology, web developmentIf you export from Fireworks into clickable HTML prototypes, you’ll find that your exports are always left-aligned – even if you select center alignment during the export. This seems like a bug to me, luckily there is a fairly painless workaround.
Note: Tested in Fireworks CS5 on Mac, but should work approximately the same in other versions or Windows.
Open /Applications/Adobe Fireworks CS5/Configuration/HTML Code/Dreamweaver/SLICES.XTT and locate the following line: (line 662)
WRITE_HTML("<!--Fireworks CS5 Dreamweaver CS5 target. Created ", d, "-->\n"); |
Now add the following right below it:
WRITE_HTML("<style>body {text-align:center;}</style>\n"); |
and BAM! You’ve got centered exports.