When I do $('div#tborder').html() I get following:
<DIV id=tborder style="BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid;
DISPLAY: block; FONT-SIZE: 12px; BORDER-LEFT: #000 1px solid;
BORDER-BOTTOM: #000 1px solid; FONT-FAMILY: Arial;
TEXT-ALIGN: left" sizcache="9" sizset="124">Some Text </div>
See the additional sizcache and sizset attributes are set. How can I get rid of these? This is a known bug in jQuery1.3.2 according to this. Please see the comments in this article as well.
Original Code:
<DIV id=tborder style="BORDER: #000 1px solid;
DISPLAY: block; FONT-SIZE: 12px; FONT-FAMILY: Arial;
TEXT-ALIGN: left">Some Text </div>