• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is there a way to create a keyboard shortcut to align text in Design view?

Explorer ,
Feb 23, 2023 Feb 23, 2023

Copy link to clipboard

Copied

It seems that Dreamweaver deprecated the "Left" "Center" and "Right" keyboard shortcuts that were there in CS4-CS6.  Is there a way to create a keyboard shortcut in Design view to align text like there used to be before?

Currently, to align text, you have to go to the "Properties" panel, click "CSS" and then select one of the alignment icons.

I used to have my mouse set up with these shorcuts.  A mouse click is way, way easier!

I've tried the "snippet" route to no avail.  I need the shortcut to work in "Design" view, not code view. 

I have even tried to create a keyboard shortcut with the "keyboard shortcuts" dialog box.  If the shortcut doesn't exist in this dialog box, you can't create a new one from scratch.

Dreamweaver has made life more difficult for me by deprecating this simple feature.  Somebody on the Dreamweaver team must know how to give me this simple functionality back.  That is if there is one.  All of my apps (Photoshop, Animate, Illustator, etc.) have 2023 updates.  Dreamweaver does not. 

Thanks...       

Views

428

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 23, 2023 Feb 23, 2023

No.  HTML web standards deprecated the ALIGN property. 

You should be using CSS to style content.

 

CSS PROPERTY:

text-align: center | right | left | justify;

https://www.w3schools.com/cssref/pr_text_text-align.php

 

Example:

.center {text-align: center}

 

<p class="center">This paragraph is centered.</p>

<p>This paragraph is not centered.</p>

 

Hope that helps.

 

Votes

Translate

Translate
Community Expert ,
Feb 23, 2023 Feb 23, 2023

Copy link to clipboard

Copied

No.  HTML web standards deprecated the ALIGN property. 

You should be using CSS to style content.

 

CSS PROPERTY:

text-align: center | right | left | justify;

https://www.w3schools.com/cssref/pr_text_text-align.php

 

Example:

.center {text-align: center}

 

<p class="center">This paragraph is centered.</p>

<p>This paragraph is not centered.</p>

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 24, 2023 Feb 24, 2023

Copy link to clipboard

Copied

Thanks for your help Nancy!  I had no idea of the HTML police deprecating that function.  I've been using CSS to align elements on my pages as you've suggested.  It's just a pain to have to split my screen, type in in the code and then refresh.  I created a "class" to align the text in CSS Designer, for the Design view but it's just not working for me. The icons for aligning text in the Properties panel work sometimes to align text, but not all  of the time.  When they don't work, I end up splitting the screen and coding again.  Maybe someday I'll figure out how to make it just one mouse click.  Thanks again!  

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 24, 2023 Feb 24, 2023

Copy link to clipboard

Copied

Alternatively, switch to Code panel, type class= inside your tag. Dreamweaver's code hints and auto-code completion features will assist you.  Working with code is faster than panels, a bit like keyboard shortcuts but without the memorization.

 

 

 

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 24, 2023 Feb 24, 2023

Copy link to clipboard

Copied

LATEST

Thanks Nancy!  That's just what I do sometimes.  I always use those code hints that fill in the blanks.  Have a blessed day, eh?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 23, 2023 Feb 23, 2023

Copy link to clipboard

Copied

HI - Design View was abandoned by Adobe a long time ago, you need to set up CSS classes, then you can apply th class to an element, paragraph for example. from the Class menu in the properties panel.

 

 

Paul-M - Community Expert

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines