YouTip LogoYouTip

Prop Tablerow Choff

HTML DOM tr chOff Property

β€” Learning not just technology, but dreams!

Home HTML JAVASCRIPT CSS VUE REACT PYTHON3 JAVA C C++ C# AI GO SQL LINUX VS CODE BOOTSTRAP GIT Local Bookmarks

JavaScript Reference Manual

Overview

JavaScript Objects

JavaScript Array Object
JavaScript Boolean Object
JavaScript Date Object
JavaScript Math Object
JavaScript Number Object
JavaScript String Object
JavaScript RegExp Object
JavaScript Global Properties/Functions
JavaScript Operators
JavaScript Error

Browser Objects

Window Object
Navigator Object
Screen Object
History Object
Location Object
Storage Objects

DOM Objects

HTML DOM Document Object
HTML DOM Element Object
HTML DOM Attribute Object
HTML DOM Event Object
HTML DOM Console Object
CSSStyleDeclaration Object
DOM HTMLCollection

HTML Objects

<a>
<area>
<audio>
<base>
<blockquote>
<body>
<button>
<canvas>
<col>
<colgroup>
<datalist>
<del>
<details>
<dialog>
<embed>
<fieldset>
<form>
<iframe>
<frameset >
<img>
<ins>
<input> - button
<input> - checkbox
<input> - color
<input> - date
<input> - datetime
<input> - datetime-local
<input> - email
<input> - file
<input> - hidden
<input> - image
<input> - month
<input> - number
<input> - range
<input> - password
<input> - radio
<input> - reset
<input> - search
<input> - submit
<input> - text
<input> - time
<input> - url
<input> - week
<keygen>
<link>
<label>
<legend>
<li>
<map>
<menu>
<menuItem>
<meta>
<meter>
<object>
<ol>
<optgroup>
<option>
<param>
<progress>
<q>
<script>
<select>
<source>
<style>
<table>
<td>
<th>
<tr>
<textarea>
<title>
<time>
<track>
<video>
<th>
HTML DOM Textarea Object

In-Depth Exploration

script
Scripting Language
Web Browser
Computer Hardware
Computer
Development Tools
Computer Science
Web Services
Programming
Software

tr chOff Property

tr Object

Definition and Usage

The chOff property sets or returns the offset of the alignment character for cells in a row.

The chOff property sets the number of characters of content offset by the attribute/ch character.

Syntax

Set the chOff property:

trObject.chOff="px|%"

Return the chOff property:

trObject.chOff

Note: The chOff property has no default value.

Value Description
px Defines horizontal pixel offset
% Defines horizontal offset as a percentage of the object's width.

Browser Support

All major browsers support the chOff property, however, none of the major browsers have implemented this functionality.

Example

Example

Align the "Savings" column two characters from the right:

function displayResult(){ Β Β Β Β var c=document.getElementById("myCol"); Β Β Β Β alert("Horizontal offset of the
← Met Tablerow DeletecellProp Tablerow Ch β†’