What program are you using to edit the PSD?
i mean ! i want to Photoshop file to html file to html including css in center position at flexible layout to use with Dream Viewer !
Html is not an image format. It is a text format that can point to a png or jpg image in your web page.
Depending on the image, it may be easier to just export as a jpg or png and let dreamweaver worry about the html and css.
However, if you preview the image from the save for web dialog box in a web browser, it will give you the html code, that was generated for that preview.
In the windows menu you should find a css panel to use.