Forum Moderators: not2easy

Message Too Old, No Replies

div positioning at right edge

         

muzuk786

8:10 am on May 9, 2008 (gmt 0)

10+ Year Member



need someone help!
i am trying to open dropdown div when someone click on table header just to provide them filter facility.
but my table last column is almost right hand side near screen boundry, so when i click on it half of my dropdown display hide.
my code look like
<td>
<ul class="abc">
<li><img class="" src="abc.gif" onclick="Class('open') />
</li>
</ul>
<div class="abc" id="abc" >
<ul class="">
<li>a</li>
<li>b</li>
<li>c</li>
<li>d</li>
</ul>
</div>
</td>

penders

9:35 pm on May 9, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm guessing you're controlling the position of this dropdown div entirely with CSS? No JS? How you sort it will depend a lot on how you are currently doing this. If you are absolutely positioning this div within a relatively positioned container then setting
right:0;
on this particular div could sort it by aligning this div with the right edge (of your table), it will then extend to the left. (?)