July 13th, 2007

Insert table "defaults code" -- I want to change it.

I use Semagic, and in HTML mode, when I click on Format > Insert table, this is what gets added to my workspace:

<table width="2" border="2" cellspacing="2" cellpadding="3"><tr><td></td></tr>

Two things:

1) Is there a way to either make this "canned code" exclude the width attribute altogether (or at the very least, make the default different from "2")?

2) Is there a way to make the "table" tag not be on a new line?

Thanks for any help from anyone.