estudiofaz / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

Assign Class To TDs For IE #393

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As you know first-child / last-child do not work in some versions of IE.  So I 
installed the js script below and it assigned a class to the td but the issue I 
am having does not get fixed.  The CSS below is supposed to put the tds on 
their own lines and it works in all other browsers except IE so I thought this 
js would help.

The class that is assigned to the td has a space before it so I'm not sure if 
that is the issue.

In firebug it looks like this <td class=" ie7_class44">.  There is a space 
after the first ".  Could that be the issue?

CSS:
.hikashop_product_characteristics_table td:last-child, 
.hikashop_product_characteristics_table td.ie7_class45 {
    display:inline-block; width:100%; margin-top:5px; } 

JS FILE I AM USING:
<!--[if lt IE 9]>
   <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->

Please see attached screen shot of what I am trying to say :)

Original issue reported on code.google.com by cokei...@msn.com on 5 Oct 2013 at 10:31

Attachments: