Skip to main content
Participant
February 15, 2019
Answered

Can I stop the "new css rule" dialog box popping up on text edits?

  • February 15, 2019
  • 1 reply
  • 505 views

Hi everyone

I am making an email template for one of our clients. I use <span> to format text.

I put placeholder text, already styled, into the html. The goal being that the client can easily highlight and replace the text from within the design view, not the code.

Anytime one highlights the entire text and either pastes in content or types, up pops a "create new inline style" dialog box that must be canceled 3 times before you can edit the text.

Placing the cursor in the text and typing, or highlighting a portion of the text does not bring up the dialog box (it's only when the entire text is highlighted).

How can I get this to stop?

Here is a sample of the code if it helps.

<span style="font-size: 18px; line-height: 24px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-weight: normal;">Newsletter Statement goes here.</span>

Dreamweaver 19.0 on Mac OS 10.12.6

Thanks

Matt

    This topic has been closed for replies.
    Correct answer mattp53670594

    Found my mistake- was missing a <p> and </p> around that span.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    February 15, 2019

    Why use span tags at all?

    Use semantic structure  <h1>, <h2>, <h3>, <p> and list tags.

    I can't reproduce your problem in Design View.

    Nancy O'Shea— Product User & Community Expert
    Participant
    February 15, 2019

    Wish I could, but our global customer base uses a wide variety of email clients (you'd be surprised- outlook 2010 anyone?), so we cannot guarantee end user support for that. Inline it is for now.

    Thanks for trying.

    mattp53670594AuthorCorrect answer
    Participant
    February 15, 2019

    Found my mistake- was missing a <p> and </p> around that span.