Click to See Complete Forum and Search --> : Problem with Fireworks/Dreamweaver


Dathor Verlox
12-20-2003, 11:40 AM
I have just 'obtained' copies of Dreamweaver MX, Flash MX, Freehand 10 and Fireworks MX and so I remade my site.
I developed the site in Fireworks before exporting the HTML into Dreamweaver but I can't work out a simple way of getting it to line up in the center of the page no matter what screen resolution the visitor is on. Anyone have any solutions?

Thanks

squeak2me
12-20-2003, 12:19 PM
Dather,

I don't know how famiar you are with code, etc, but go into the code tab in Dreamweaver. Right under the <body> tag, put the following:
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%" height="100%" align="center">

Then go to the bottom of your page, and just above the </body> tag, enter the following:

</td>
</tr>
</table>

Hope this helps! The 100% in your table and table-data-cell tags tell your page to disply in 100% of the width of your viewers browser. The align="center" tells it to always display the contents of that table data cell in the center of your visitors screen.

Good luck!

Dathor Verlox
12-20-2003, 12:37 PM
Thanks, worked perfectly.
Ur great

Dathor

squeak2me
12-20-2003, 12:45 PM
I am so glad it worked for you! Enjoy your Macromedia suite. It's a great tool, and so much fun to work with! Glad to hear you are using them as an integrated tool. Explore lots, and ask many questions. Its' wonderful when it finally works! Take care and have a great day!