The following code works fine in IE 6.
<code>
table
{font-size: 12px;}
.Tables
{text-align: center;}
<div class=Tables>
<table ....>
</div>
</code>
The table is centered, & uses 12 px font.
However, in FF 1.0.4, the following is necessary:
<code>
tr
{font-size: 12px;}
<div class=Tables>
<table align=center ...>
</div>
</code>
But, both IE & FF interpret the following the same:
<code>
.Images
{text-align: center;}
<div class=Images>
<img src= ...
</div>
</code>
FF like IE centers everything (including text) in the Images class.
Is this a bug, some problem with my CSS code, or the harsh realities of strict CSS?
Other questions & answers may apply.
Thanks in advance.
livefree
<code>
table
{font-size: 12px;}
.Tables
{text-align: center;}
<div class=Tables>
<table ....>
</div>
</code>
The table is centered, & uses 12 px font.
However, in FF 1.0.4, the following is necessary:
<code>
tr
{font-size: 12px;}
<div class=Tables>
<table align=center ...>
</div>
</code>
But, both IE & FF interpret the following the same:
<code>
.Images
{text-align: center;}
<div class=Images>
<img src= ...
</div>
</code>
FF like IE centers everything (including text) in the Images class.
Is this a bug, some problem with my CSS code, or the harsh realities of strict CSS?
Other questions & answers may apply.
Thanks in advance.
livefree