Yes you may get into some obstacles using DOM. I'am lucky while I almost never
user borders and if I can I always try to use other techniques instead of JS
positioning. First I had to use those functions, but later I was able to avoid
them easily...
You'll also find that width is reported differently in IE and NN. One counts the
borders (or is it padding - forgot about that) into it, the other doesn't...