Is there anyway to control CSS positioning in adobe fireworks?

138 Views Asked by At

When i work on fireworks and export files into CSS and html , the DIVs are all absolute to top , is there anyway to make Divs relative to parent within Adobe fireworks? Is there any plugin can solve this?

1

There are 1 best solutions below

0
On

I suggest you wrap everything after from the start body tag in one container with a position property value of relative and a defined width. That will help you hold everything in you defined position except when you use negative values for left, right, top or bottom for the fireworks elements.

CSS example

 #main-container {
       position: relative;
       width: 960px; /* Adjust as needed */
       height: auto;
    }

HTML example

<div id="main-container">

 Put your fireworks stuff here

</div><!-- End Main Container -->