Q:

write code as less as possible to change div position at a complex website

My website project is coming finish, but my client want to change a small div position. If follow the normal way, e.g, set up div position and float attributes, I have to change a lots code, it is not valuable. So I want to write code as less as possible.
In order to let you guys understand my situation as well, I list the example code and requirements. Please forgive me can't put all code there, because it is so much.
Example code:
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div id="hello">Hello word
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

Requirement 1: can't change html code, can't use/change .css file,
seems just can use javascript, but if there is another way, is welcome.
Requirement 2: write code as less as possible.
Requirement 3: use jquery should be best
Requirement 4:can't use position and  float attributes

A:

You can use offset function like below:
$("#hello").offset({ top: newhellodivtop , left: newhellodivleft });

Note: make sure this code is executed follow all code that related to "hello" div

