Solved

CSS IE vs Moz

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now