So, this might be super simple, but my novice-HTML-brain is just not getting this right!
What I need is a footer for a HTML page that has copyright info in the center and some other message towards the right.
I am trying to following HTML to achieve this:
This works fine in Firefox but not in IE8!!! IE8 still places the div on top of each other rather than inline.
What am I doing wrong here? Thanks in advance for the help.
What I need is a footer for a HTML page that has copyright info in the center and some other message towards the right.
I am trying to following HTML to achieve this:
Code:
<html>
<head>
<title>Div Try</title>
</head>
<body>
<div style="width: 100%;">
<div style='float: left; width: 50%; display: inline; text-align: right;'>
Copyright information needs to be here
</div>
<div style='float: right; width: 50%; display: inline; text-align: right;'>
Application message
</div>
</div>
</body>
</html>
This works fine in Firefox but not in IE8!!! IE8 still places the div on top of each other rather than inline.
What am I doing wrong here? Thanks in advance for the help.