Most often, designers wrap editable regions around block elements
such as headings or paragraphs. However, there are occasions when it is advantageous to make just the content
within block tags editable and lock the surrounding tags themselves. I, for example, apply this technique
when I want a template-derived page to always start with a single
heading, but know that the
heading will always be different. Dreamweaver regards this approach with suspicion because such an
editable region will not allow the user to press Enter (Return) and add more block-level tags.
To prevent novices from inadvertently limiting the expansion of content within an editable region,
Dreamweaver displays an alert whenever a template is saved that has an editable region within a block element.
You can continue the save??”and the subsequent updating of template-derived pages??”or you can
cancel and correct the situation. In previous versions, Dreamweaver displayed this error without recourse,
even when the coding it was protesting to was intentional. By disabling the Warn When Placing Editable
Regions Within
Or
- Tags option, you can avoid having to repeatedly dismiss the alert.
If you??™re new to Dreamweaver and its template technology, I recommend that you enable this option.
Pages:
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251