Forum Moderators: open

Message Too Old, No Replies

Dreamweaver MX tables

         

melemel

11:28 am on Sep 13, 2005 (gmt 0)

10+ Year Member



Im just starting to get to grips with dreamweaver..starting off with TABLES..
I have a couple of queries which i cant figure out.

Firstly - is it possible to set different cell padding values for individual cells within a table? Right now i can only see how to set cell padding for the entire table.

Secondly, When i try to enter text into my table

cells, it seems to be double spacing them (Like

this!). When i cut and paste

from notepad for example, there is no double spacing. This one is driving me mad - though im sure its very simple and im being very stupid! Many thanks for preventing me from tearing my hair out, and expect more newbie questions in the future!

MyGen

9:36 pm on Sep 17, 2005 (gmt 0)

10+ Year Member



For your padding, just use CSS, so:


<table>
<tr>
<td style="padding:2px">
This cell has 2px padding
</td>
<td style="padding:5px">
This cell has 5px padding!
</td>
</tr>
</table>

MyGen

9:38 pm on Sep 17, 2005 (gmt 0)

10+ Year Member



Also, the double spacing is a result of the <p> tag, which is used for paragraphs. Use <br/> at the end of your lines to do a single space between each one. Alternatively, you can press Ctrl-Enter at the end of you r line.