IE7 refuses to apply CSS style from <style> section to <td>

  • Thread starter Thread starter lcplben
  • Start date Start date
L

lcplben

Hi everybody --

I posted this same question to the groups "Design the Web with CSS"
comp.infosystems.www.authoring.stylesheets without result.

The problem page is:

http://sellmycalls.com/chain-nowrap.html

and is illustrated in the first data row, column 11. IE7 strands the
hyphen on one line of the cell, placing the negative number on the
second line. The solution, particularized to one column, is in column
12.

My header-section stylesheet at line 520 is:

th, td {
/* width: 4em; */
white-space: nowrap;
padding: 0 .5em;

}

The source lines that correspond to the two examples above are 654 and
655.

In line 654, I'm asking IE7 to apply the "white-space:nowrap;" style
to the <td>. In line 655, I'm applying that style explicitly.

What an I doing wrong that IE7 seems to ignore the global style for
<td>s in this table?

Thanks!

-- Ben
 
Fixed. Problem was I had an alien character -- a double quote --
buried in my css, which caused some of the css to be ignored.

-- ben
 
Back
Top