The problem is that the absolute position will change based on the screen size. The easiest way is the way I suggested in the first place. If you don't wan to have two copies then you could create it in a separate file and include it on the page with require() in the php.