Skip navigation
Currently Being Moderated

How to change table border color in DW CS6

May 5, 2013 3:17 PM

Tags: #help #dreamweaver #border #table #cs6

I need to know how to change the color of the border around my tables in Dreamweaver CS6. I saw a article on how to change it on http://forums.adobe.com/message/4451812, but i really couldnt follow because im just starting out using dreamweaver and i dont know anything about code. Is there a simple way to change the border color or can you give me a basic step process on how to change the border color in the code?

 
Replies
  • Currently Being Moderated
    May 5, 2013 4:11 PM   in reply to Oshae93

    Use CSS

     

    table, th, td

    {

    border: 1px solid black;

    }

     

    Experiment here:

    http://www.w3schools.com/css/tryit.asp?filename=trycss_table_border

     
    |
    Mark as:
  • Currently Being Moderated
    May 5, 2013 4:56 PM   in reply to Oshae93

    Just an FYI, nobody uses Table-based layouts anymore.  It's much better to use CSS for layouts.  Only use tables for tabular data like spreadsheets and charts.

     

    Dreamweaver has a bunch of pre-built CSS Layouts for you to use as starter pages.  Just go to File > New > Blank page > HTML.  Pick a layout from the 3rd panel and hit Create button.  See screenshot below.

     

    CS6-NewLayout.jpg

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    May 6, 2013 5:49 AM   in reply to Oshae93

    Glad you've learned a bit more about how DW works, but your method should NOT be marked as "correct". The code it generates is not valid code to meet W3C standards, for either HTML 4.01 or HTML5, so your page will not validate.

     

    Paste your code here to see what I mean

    http://validator.w3.org/

     

    I you are ever called upon to produce HTML emails, rather than web pages, you can use your method

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points