If you are exporting as HTML and Images, nope, other than editing the
export template which is a hands on bit of work.
gives you instructions on how to alter the Slices.xtt file which
controls the generic HTML output style. The instructions are not best
practices any more (as is mentioned in the article), but if you're
just wanting to create a centered layout for prototyping purposes, it
will do the job. From the article you should be able to infer how to
set the margins to 0 for the body.
Community MX Partner -
Adobe Community Expert
Author - Lynda.com
Author: Peachpit Press
Thanks, Jim! I'll take a look at the template and determine if I want to mess with it or not.
1 person found this helpful
As a side note, the leftmargin and topmargin attributes are IE/Microsoft specific, and are not part of the (X)HTML spec. The marginheight and marginwidth are not part of the spec when they are applied to the body tag. If you want valid (X)HTML code, you shouldn't have any of these four attributes on your body tag, anyway.
Your page will still render, of course, but it's something you might want to keep in mind.
Thanks, pixlor. You bring up some good points so I appreciate the tip.