Angela French wrote:
.center
{ display: block;
text-align: center;
margin: 0 auto;
}
My question is this. It appears in FF that .center was being applied
to my td in addition to my td.center. But not so in IE.
How did you draw the conclusion whether .center was or was not applied? In a
simple test, I see no essential difference between IE and FF in this issue.
The declaration text-align: center cannot have observable effect when
another CSS rule says the same. The margin declaration has no effect for a
table cell. I wonder what display: block should do to a table cell, but some
browsers might conceivably turn the cell into a mere block, and then margin
might have an effect.
Can you post the URL and identify the browser versions you used?
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/