Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 11, 2008 22:43
open dhtmlx forum
Image at the Top Right Corner

Hi,
I want to place an image in the top-right corner of the cell.To this i'm using the syntax "Float:right" .


Response.Write "<img style=""float:right;"" border=""0"""


After using this i'm only able to get the image to the bottom-right of the cell.
Please suggest me on how to get the image at the top-right corner of the cell.
Answer posted on May 14, 2008 07:33
Instead of using inline IMG , you can set the same image through background style

In HTML

<style>
   .red_mark{
      background:url(red.gif) right top;
      background-repeat:no-repeat;
      }
</style>


In XML

      <cell class="red_mark"> text </cell>