I am having a browser rendering issue.  I have a dynamic table.  It is
displaying radio buttons for a job assessment.  The assessment can have up
to 10 responses, so the number of radio buttons is dynamic.  I have it set
with 5 columns (a second row will show up if there are 6 or more responses).
If there are less than 5 (from 6-9 responses) it puts radio buttons in the
appropriate cells and then I use a spacer gif for the "empty cells", so, for
instance, if there are 2 responses, you have:  button button blank blank
blank.  The cells have borders (using images rather than the table border).
Here's the code (it repeats the response cells if there are more than 5
obviously.)

 

<td align="center" valign="middle" #cell_width# #cellstyle#>

<cfif get_answers.recordcount gte 1>

<A href="##" id="answer_detail_popup" 

onMouseOver="document.getElementById('answer_detail_popup').style.cursor='de
fault';stm(Text[1],Style[1])" 

onMouseOut="htm()" 

tabindex="-1">

      <cfinput type="radio" 

name="assess_answer#GetAssess.CurrentRow#" 

id="assess_answer#GetAssess.CurrentRow#" 

checked="no" 

value="#get_answers.answer_id[1]#" 

required="no" 

passThrough="title='#get_answers.answer_label[1]#'">

</a>

      <cfelse>

            <img src="img/pixel.gif" #cell_width# height="30" border="0">

      </cfif>

</td>

<td width="1" class="formborder"><img src="img/pixel.gif" width="1"
height="30" border="0"></td>

 

 

The href is for an ajax call for a dynamic mouseover  label.  This snippet
is repeated 5 times to generate the 5 cells across.cell width =
'width="20%"'

 

 

This looks great in IE, but in FF, it adds a pixel to the last cell with a
radio button to any rows that do not have 5 buttons.  Rows that are either
blank or have 5 buttons render as expected.  I have tried adjusting the
width of the spacer gif differently than the td width, but that didn't help.
I have been banging my head over this all day.  Help!!!

 

Any ideas?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332732
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to