Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSS IE vs Moz

Posted on 2011-03-16
1
Medium Priority
?
297 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:Tom Knowlton
1 Comment
 
LVL 17

Accepted Solution

by:
mreuring earned 2000 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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

972 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