Hi there,
Welcome to the forums!
So, the first question would be, is there any particular reason that you are using .dwt files (they're DreamWeaver templates, right?)
AFAIK, they define editable areas and you simply cannot change anything which has not been defined as such when using DreamWeaver to edit them.
Apart from that, my suggestions would be as follows:
- Use a different text editor to edit the .dwt file. Then you can change what you want.
- The following JavaScript will dynamically add an id to the body. This is however, a horrible solution, so please only use as a last resort
Just add this to your HTML in an ediable area:
HTML Code:
<script>
window.onload=(function(){document.getElementsByTagName("body")[0].id = "someID";})
</script>
HTH
Bookmarks