Format Problems - Using Layers

Different browsers sometimes decide to display your page differently than you want them displayed. About the only thing that you can do is to alter your page to some sort of compromise - so that the browser doesn't change your formatting in some unacceptable way.

Another formatting problem becomes obvious when the user's screen resolution is different than you used when formatting your page. Dreamweaver will wrap your text just like your word processor does - but so does a browser. If the user's screen resolution is different than you used when formatting your page, word wrapping can occur at different places than you thought it would - and formatting will change.

One way to prevent this is to place everything on your page into a "layer." I move to the bottom of my page and Insert > Layer. You will see a small yellow icon that represents the layer insertion point and you will see a box. (The box edges are invisible when displayed by a browser.) You can move the box to the top of the page. Clicking on the edge of the box selects it and allows you to change its dimensions to the width you prefer. Text typed into the layer is wordwrapped at the right edge of the box - so that line lengths are specified when you establish the width of the layer. Changing the screen resolution does not change the location or
the size of the layer, so that a different screen resolution may require your user to scroll, but formatting is not disturbed.

If you want to make sure that the user can print out your page without having the right side trimmed off, set the width of the layer to about 620 pixels in the layer's Properties Window.