Hi,

Thanks to all your reply...actually I can use wrap..as I will be inserting
one more row..and both of them are not in the center of the table. ...I just
showed the example for convience...the actual code that I am trying to work
out is this

Original
Original
<div class="box">
      <span class="heading">Heading</span>
     <div class="value">This is the value for above heading</div>
</div>

Modified (desired result)
<div class="box">
       <table>
          <tr>
                 <td>Image1</td>
                 <td>Image2</td>
                 <td>Image3</td>
           <tr>
            <tr>
                    <td>Image4</td>
                    <td><span>heading</span></td>
                     <td>Image5</td>
            </tr>
            <tr>
                 <td>Image6</td>
                 <td>Image7</td>
                 <td>Image8</td>
            <tr>     
            <tr>
                 <td>Image9</td>
                 <td>Image10</td>
                 <td>Image11</td>
            <tr>     
            <tr>
                 <td>Image6</td>
                 <td><div class="value">This is the value for above
heading</div></td>
                 <td>Image8</td>
            <tr>     
            <tr>
                 <td>Image12</td>
                 <td>Image13</td>
                 <td>Image14</td>
            <tr>     
     </table>
 </div>

This might look like stupid transform but I needed in my project. Is it
possible to use wrap here??
Regards,
Ritesh

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



-- 
View this message in context: 
http://www.nabble.com/Newbie-Question---wraping-an-element-tf3219302.html#a8944195
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to