Solved

CSS IE vs Moz

Posted on 2011-03-16
1
290 Views
Last Modified: 2012-05-11
http://ash.kent.campuswebstore.com/

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">
                        <table>
                            <tr>
                                <td>

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

Open in new window


0
Comment
Question by:knowlton
1 Comment
 
LVL 17

Accepted Solution

by:
mreuring earned 500 total points
ID: 35155767
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 :)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unwanted gap in IE11 between header and menu 9 25
Add css and js to MVC Project not in project 9 35
Remove lines by logo 2 29
Bottom border change 5 13
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question