KTACHACH, that battery should be just fine. As long as it fits in the battery box, all will be good. So, if you have a half inch of space, then go for it. Worst case, you can remove the foam rubber inside and that will give you the space that you need to install that new battery.
Chris "Thermo" Coleman and Jackie, the 12 XJ