Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I often add rows to tables in Dreamweaver once a day and then add text to these.

it is annoying to always have to change the text format to paragraph, is there a way to make paragraph the default format for all text?

share|improve this question

1 Answer 1

You can use snippets to encapsulate the selected text with whatever code you wish. for instance you can set up a snippet as <p class='myClass'> </p> then select wrap-selection. When you select your text from the snippets window select your snippet and it will wrap your html around the selected text.

You can also create a snippet such as <tr><td><p>text goes here</p></td></tr> then all you need to do is double click the snippet to insert this code into the document then you simply copy/paste or type in between the paragraph tags

Also if you open the preferences panel under edit and select code hints select the radio button for close tags After typing "</" this will auto close the tags for you. So for example you can type <p>this is my paragraph</ and it will close the tag for you. This works with all types of tags not just paragraph.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.