CSS IE vs Moz


Mozilla looks okay.

IE is too close to the main content.

How to correct?

Here is an excerpt of the relevant lines:

  <div id="mainContentWrapper">
                    <div id="mainContent">

<div style="position:relative;top:0px;float:right;margin-right:-270px;margin-top:20px;width:200px;">
                                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

Open in new window

Tom KnowltonWeb developerAsked:
Who is Participating?
mreuringConnect With a Mentor Commented:
Just add 'text-align: right;' to the div. Don't exactly know why, but it won't hurt the working browsers, while it will solve your problem in IE :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.