One of my spans is causing an issue. Here are the styles in question:
.form_container .col1che
{
float: left;
width: 4%;
text-align: left;
}
.form_container .col2che
{
float: left;
width: 80%;
text-align:left;
}
.form_container .col3che
{
float: right;
width: 13%;
text-align:right;
}
These 3 spans are included in my code:
<div class="row"><!-- start: "row" -->
<span class="col1che">
<?php //some db feeds ?>
</span>
<span class="col2che">
<?php //some db feeds ?>
</span>
<span class="col3che">
<?php //some db feeds ?>
</span>
<div class="clear"></div>
</div><!-- end: "row" -->
The problem arises when there is no data to display in "COL1CHE" (or possibly any of them, though I am uncertain). In Firefox, this span collapses and its width is not maintained. However, this does not occur in IE.
I have added a "clear" class but it has not resolved the issue.
Any suggestions?