properties 'base' and 'offset'

There are two variants of addressing:
about absolute, constant basis (which is address of fixed directory) and
about relative, float basis (which is address of current, loaded document).

---relative basis
Let we have documents on one site, locations of which are specified in example below,
and let documents have different links (they are also specified in example)
  /path/x1.htm                     <a href="./m/n/x2.htm">
  /path/m/n/x2.htm                 <a href="../../x1.htm">
Imagine, that we move part of site to other server,
and we have the following           <a href="./m/n/x2.htm">       <a href="../../x1.htm">
Traditional tag BASE and technology CURIE are not proper, because
(1.1) they use absolute basis, but we need relative basis;
(1.2) it's more comfortable to change basis in all documents at once in css-file,
than to edit tag HTML in mass of documents.
In addition to that, CURIE is not suitable, because
(1.3) it creates so much basis-es (attributes of tag HTML),
how many directories project uses -
at the same time, we need only so much, to how many parts project is divided
(that is far less number of directories).

Thus i offer to enter new property, which will correct path of link, e.g.

.partB-of-site {                              /*** for ***/
<!- document is ->
<a class="partA-of-site" href="./y1.htm">     <!- to ->
<a class="partB-of-site" href="./m/n/x2.htm"> <!- to ->

.partA-of-site {                              /*** for ***/
<!- document is in ->
<a class="partA-of-site" href="../../x1.htm"> <!- to ->
<a class="partB-of-site" href="./y2.htm">     <!- to ->

Links can point into parent's directories, specified in 'offset',
e.g. can use displacement like "../../.." for example above.

It's possible to emulate pure CURIE so
.z {
  offset:  ./;

---absolute basis
Case, when we refer about fixed directory, is usually store of pictures
(which can be on separate file-server).
It's more comfortable to change basis in all documents at once in css-file,
than to have deal with tag HTML in many documents.
Therefore i offer to use property 'base' instead of tag BASE.

img {

<!- in one document ->
<img src="k/l/pic.gif>         <!- will be understand as ->

<!- in another document ->
<img src="k/p/fig.gif>         <!- will be understand as ->

Dmitry Turin
HTML6     (6.1.2)
SQL4      (4.1.2)
Unicode2  (2.0.0)
Computer2 (2.0.3)

Received on Friday, 13 July 2007 12:54:19 UTC