1 0 Archive | Dreamweaver RSS feed for this section
post icon

How to refresh page after loading

While making a mobile friendly page i need to readjust the page to make it center align. As with load of the page it was not being centered, when user click double click on the page, it get’s align centered. so we implemented auto refresh which do exactly what we after…

JavaScript

< script language=” JavaScript” >
< !– function LoadOnce() { window.location.reload(); } //– >
< /script>

Call this function on body tag

< body onLoad=” LoadOnce()” >

Leave a Comment
post icon

How to auto format/reformat css, html using Dreamweaver?

Does your code page look like unorganized, messy lines of code?
Use the Apply Source Formatting feature and reformat it exactly to your preferences.
To quickly clean them up, click the Format Source Code icon at the bottom of the Coding toolbar (Edit > Toolbars > Coding) and select Code Format Settings to set your preferred formatting.

You can also access the formatting option from Commands > Apply Source Formatting or only apply it to a select block of code by selecting the Apply Source Formatting to Selection option.

Can by applied to all type of files DW can work with.

Leave a Comment