Dreamweaver tip #1 "centered content"


For those of you who enjoyed the ease of centering content on your HTML pages using tables in Dreamweaver MX and were left with a question mark hanging over your head when you upgraded and it would no longer work, here is a bit of help....

After the "DOCTYPE" code in every "new" HTML page Dreamweaver MX 2004 and up creates you will find the following code:

"http://www.w3.org/TR/html4/loose.dtd"

Deleting it - will allow your tables to behave as they did in previous versions of Dreamweaver which means you can then set 100% width & height once again allowing you to center your content on the web page.

Comments