Files
Mozilla/mozilla/editor/dialogs/tabletabledlog.xml
brade%netscape.com f797c7d1e9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21908 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:46:58 +00:00

177 lines
6.4 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="EditorDialog.css" type="text/css"?>
<!DOCTYPE dialog>
<window xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/TR/REC-html40">
<table xmlns="http://www.w3.org/TR/REC-html40">
<tr>
<td width=500>
<fieldset><legend> Table Size </legend>
<table>
<tr>
<td>
<xul:label>Rows:</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="table.numrows" />
</td>
<td width="30px"/>
<td>
<xul:checkbox value="Height:" />
<xul:label>Height:</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="table.rowheight" />
<select size="1" name="tablerow.heightType">
<optgroup label="pixels">
<option label="pixels" value="pixels">pixels</option>
<option label="% of window" value="% of window">% of window</option>
</optgroup>
</select>
</td>
</tr>
<tr>
<td>
<xul:label>Columns:</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="table.numrows" />
</td>
<td width="30px"/>
<td>
<xul:checkbox value="Width:" />
<xul:label>Width:</xul:label>
</td>
<td>
<input type="text" size="4" length="4" maxlength="4" name="table.colwidth" />
<select size="1" name="tablcol.widthType">
<optgroup label="pixels">
<option label="pixels" value="pixels">pixels</option>
<option label="% of window" value="% of window">% of window</option>
</optgroup>
</select>
</td>
</tr>
</table>
</fieldset>
<table cellspacing=0 cellpadding=0 width="100%">
<tr>
<td width="60%" valign=top>
<fieldset><legend> Borders and Spacing </legend>
<table cellspacing=0 cellpadding=2>
<tr>
<td valign=middle align=right>
<xul:checkbox value="Border Width:" />
<xul:label>Border Width:</xul:label>
</td>
<td valign=middle>
<input type="text" size="4" length="4" maxlength="4" name="table.borderwidth" />
</td>
<td valign=middle>
<xul:label> pixels </xul:label>
</td>
</tr>
<tr>
<td valign=middle align=right>
<xul:label>Spacing:</xul:label>
</td>
<td valign=middle>
<input type="text" size="4" length="4" maxlength="4" name="table.cellspacing" />
</td>
<td valign=middle>
<xul:label> pixels between cells </xul:label>
</td>
</tr>
<tr>
<td valign=middle align=right>
<xul:label>Padding:</xul:label>
</td>
<td valign=middle>
<input type="text" size="4" length="4" maxlength="4" name="table.cellpadding" />
</td>
<td valign=middle>
<xul:label> pixels between border and cell contents </xul:label>
</td>
</tr>
</table>
</fieldset>
</td>
<td width="40%" align=right>
<p/>&nbsp;
<p/>
<xul:label> Table Alignment </xul:label>
<select size="1" name="table.alignType">
<optgroup label="alignment">
<option label="left alignment" value="left alignment">left alignment</option>
<option label="center alignment" value="center alignment">center alignment</option>
<option label="right alignment" value="right alignment">right alignment</option>
</optgroup>
</select>
<p/>&nbsp;
<p/>
<xul:label> Caption </xul:label>
<select size="1" name="table.caption">
<optgroup label="caption">
<option label="None" value="None">None</option>
<option label="Above Table" value="Above Table">Above Table</option>
<option label="Below Table" value="Below Table">Below Table</option>
</optgroup>
</select>
<p/>
<input type="button" class=genericbutton value=" Extra HTML... " style="align:right" disabled />
</td>
</tr>
</table>
<fieldset><legend> Background </legend>
<table cellspacing=0 cellpadding=2 width="100%">
<tr>
<td valign=middle>
<xul:checkbox value="Color:" />
<xul:label>Color:</xul:label>
</td>
<td valign=middle>
<xul:label>[Color Picker Here]</xul:label>
</td>
</tr>
<tr valign=middle>
<td>
<xul:checkbox value="Image:" />
<xul:label>Image:</xul:label>
</td>
<td>
<input type="file" value=" Choose Image... " size="50" length="50" maxlength="255" name="table.imageurl" />
</td>
</tr>
<tr>
<td/>
<td valign=middle>
<xul:checkbox value="Leave image at the original location" />
<xul:label>Leave image at the original location</xul:label>
</td>
</tr>
</table>
</fieldset>
<input type="button" id="helpbutton" value=" Help " disabled />
<input type="submit" id="cancelbutton" value=" Cancel " />
<input type="button" id="applybutton" value=" Apply " disabled />
<input type="submit" id="okbutton" value=" OK " />
</td>
</tr>
</table>
</window>