In Dreamweaver, is there a keystroke or a way to add a button for strikethrough? | Programming, .NET, Silverlight & More

In Dreamweaver, is there a keystroke or a way to add a button for strikethrough?

I use Dreamweaver in a way that I need the <s> command constantly. As far as I can tell, the only ways to make that line appear through the text is by manually coding it in or my using the dropdown menu. Those are both really inconvenient. Is there any way to add a strikethrough button to a toolbar menu? Alternatively, is there a keystroke that could do it for me?

Those tags are deprecated in HTML 4.0.1, meaning they may become obsolete in future versions of HTML. Use CSS to do that:

<style type="text/css">
.strike { text-decoration: line-through; }
</style>

Have you tried using the Redo Command to see if it would work. My editor has code snippets which are easily added when I need them. Must be the reason why I haven’t opened my DW in ages. :P

Actually, by default Dreamweaver does not use the traditional <b> and <i> HTML tags for bold and italic, respectively. Instead it uses <strong> and <em> (for emphasis). The latter tags are preferred as part of best practices, because they are better handled by screen readers used by visually impaired users. If you want to switch Dreamweaver back to using <b> and <i>, choose Edit > Preferences (Dreamweaver > Preferences), and in the General category of the Preferences dialog, deselect "Use <strong> and <em> in place of <b> and <i>."

Ron

No TweetBacks yet. (Be the first to Tweet this post)

One Response

  1. ✞☠ Ron ☠✞ Says:

    Those tags are deprecated in HTML 4.0.1, meaning they may become obsolete in future versions of HTML. Use CSS to do that:

    <style type="text/css">
    .strike { text-decoration: line-through; }
    </style>

    Have you tried using the Redo Command to see if it would work. My editor has code snippets which are easily added when I need them. Must be the reason why I haven’t opened my DW in ages. :P

    Actually, by default Dreamweaver does not use the traditional <b> and <i> HTML tags for bold and italic, respectively. Instead it uses <strong> and <em> (for emphasis). The latter tags are preferred as part of best practices, because they are better handled by screen readers used by visually impaired users. If you want to switch Dreamweaver back to using <b> and <i>, choose Edit > Preferences (Dreamweaver > Preferences), and in the General category of the Preferences dialog, deselect "Use <strong> and <em> in place of <b> and <i>."

    Ron
    References :

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.