Reputation: 110
I have a footer which is included in register.php
, ( a simple registration page. )
The footer includes a text section to the right and a error reporting section to the left.
My issue is Internet Explorer does not display my code the same way Firefox does. Here are some examples:
Here is my CSS for the left side ( error reporting ):
#errors
{
float:left;
margin-left:4.5%;
text-align:left;
color:red;
}
Here is my CSS for the right side ( text area ):
#footer p
{
text-align:right;
margin-right:3%;
}
And, finally here is my CSS for the entire footer:
#footer
{
width:100%;
border-top:1px solid black;
bottom:0;
color:#838B8B;
font-family:verdana;
}
Upvotes: 0
Views: 72
Reputation: 166
This is kind of a hack, but you could try:
#errors
{
float:left;
margin-left:4.5%;
text-align:left;
color:red;
white-space: nowrap;
}
Upvotes: 2