Skip navigation
Currently Being Moderated

How to nest text on DW tables or cells

Jun 17, 2013 12:00 AM

Hello all,

I am new on DW, I need help refining my text placement on pages especially spaces before.

Here is an awkward layout I need help with.

I tried to create space before the border, but I couldn't could someone help?



  • Currently Being Moderated
    Jun 17, 2013 2:50 AM   in reply to wolekraft

    You could create a css class and apply it to your td, tr or entire table


    .tblpadding {




    so your <tr>, <td> or <table> tags would look like this


    <tr class="tblpadding">

    <td class="tblpadding">


    <table class="tblpadding">


    That should do it. If you apply it to the <table>, the whole table takes on the same padding, but if you apply it to the <tr> or <td>, then you can apply different classes to different parts of the table.

    Mark as:
  • Currently Being Moderated
    Jun 17, 2013 5:38 AM   in reply to wolekraft

    The simplest solution would be to just change the table tag cellpadding from "0" to "10"


    <table width="845" cellpadding="10" border="0" align="center">



    Mark as:
  • Currently Being Moderated
    Jun 17, 2013 6:48 AM   in reply to Ken Binney

    Ha ha... yeah, in this world of CSS correctness I completely forgot about the easy option... and the way Ken has said to do it is the way I would automatically do it without even thinking!

    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