Jump to content

IE problem


dan_t

Recommended Posts

Hi everyone,

I have a little problem here. The CSS I'm using worked with every browser but Internet Explorer.

For some reason my navbar goes to the middle of the screen. But on all the other browsers it is on the left, where it shoud be.

How can I fix this?

Here is my CSS, you will see I have tried a hundred different ways.

 

 

@charset "utf-8";

/* CSS Document */

 

body {

width:98%;

height:100%;

font-size:small;

padding:0;

margin:0;

text-align:center;

color: #FF3333;

}

 

#container {

font:Verdana, Arial, Helvetica, sans-serif;

text-align:center;

margin:auto;

height:100%;

}

 

h1 {font-family:Arial, Helvetica, sans-serif;

font-weight:bold;

font-size:60pt;

color:#FFFFFF;

}

 

h2 {

font-family:Arial, Helvetica, sans-serif;

font-size:12pt;

font-weight:normal;

color:#FFFFFF;

}

 

.smprint {

font-family:Arial, Helvetica, sans-serif;

font-size:12pt;

font-weight:normal;

color:#FFFFFF;

}

 

#nav  {

left:auto;

margin-left:10%;

margin-right:65%;

 

}

 

#rightCol {

float:left;

margin-right:20%;

text-decoration: none;

color: #FF3300;

width: 25%;

height: auto;

clear: none;

 

 

}

 

 

 

#contacts {

background-color:#FFFFFF;

margin-right:35%;

float:right;

padding-right:15px;

padding-left:15px;

}

 

 

#rightalign {

color:#FF3333;

margin-right:20%;

text-align:center;

word-spacing:normal;

float:none;

margin-left:50%;

width: auto;

}

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.