Solved

CSS IE vs Moz

Posted on 2011-03-16
1
291 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing Color of Page Section 4 24
Little bit of help styling my heading 3 31
Wordpress themes CSS? 6 10
Effective CSS style applied to an element 5 19
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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…

830 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