Skip to main content
Participating Frequently
March 6, 2023
Question

CHANGING THE COLOR OF CELLS IN A DW TEMPLATE

  • March 6, 2023
  • 3 replies
  • 980 views

I am attempting to change the colr of specific cells in a DW Template. So far I am not finding a way to accomplish this - - - Thanks

    This topic has been closed for replies.

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    March 6, 2023

    A better question is why are you using TABLES? 

    Tables are for displaying tabular data in columns & rows like charts & spreadsheets.  We don't use them for web page layouts.  That's all done with CSS now.

     

    Nancy O'Shea— Product User & Community Expert
    Participating Frequently
    March 9, 2023

    Thank you Nancy - - - 

    You have been kind enough to respond to many previous questions - - 

    If I want convert my web pages  - using CSS - does this mean starting over..?

    Any shortcuts..?   Mac

    Nancy OShea
    Community Expert
    Community Expert
    March 9, 2023
    quote

    If I want convert my web pages  - using CSS - does this mean starting over..?

    Any shortcuts..?   Mac


    By @Mac Martin

    ===========

    You're welcome.  Yes.

    See my reply above.

    https://community.adobe.com/t5/dreamweaver-discussions/changing-the-color-of-cells-in-a-dw-template/m-p/13639104#M223710

     

    Nancy O'Shea— Product User & Community Expert
    Jon Fritz
    Community Expert
    Community Expert
    March 6, 2023

    You'll need to create a class in your stylesheet with a background-color of your choosing, for example....

    .blue_bg {
    background-color:blue;
    }

    Then select the element you want to add it to, in Live or Design View, and choose it from the class dropdown menu in the Properties Window...

     

    BenPleysier
    Community Expert
    Community Expert
    March 6, 2023

    I cannot recollect any of the DW Templates having cells, let alone cells with colour. Please enlighten me.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Participating Frequently
    March 9, 2023

    Sorry for the delayed reply - but thanks - Ben - Birnou - Jon and Nancy -- 
    Nancy seemed to figure out that I was using tables to create web-pages and saving some pages as Templates.
    That has been my approach since DW was first intoduced. And now I am trying to catch up and begin to use CSS.
    Short tem - I used CSS styles to add color in the pages tables as originally planned.  Thanks for the help!!  I will not doubt be back - for additonal help!!  Mac

    Nancy OShea
    Community Expert
    Community Expert
    March 9, 2023

    Despite how you've been doing things for 10+ years, I implore you to find a CSS layout to replace your tables.

     

    Dreamweaver 2021 comes with built-in Starter Pages you can use to jump into responsive web design.  

    • File > New > Starter Templates > Bootstrap Templates...  Pick a layout & hit CREATE button. 
    • SaveAs index.html. 
    • It really is that easy.   🙂

    Please give it a try.  Post back if you have any questions.

     

     

    Nancy O'Shea— Product User & Community Expert