PDA

View Full Version : Help with CSS Container


andy384
07-21-2005, 04:50 PM
This page worked great in Firefox and I was liking it. Then one day I randomly checked it out in IE and it is aligned wrong. I know there is something incompatible with IE in my CSS but I can't find what it is.

Here are the links:

The Problem Page ('http://www.rolfnow.com')

The CSS ('http://www.rolfnow.com/rolfnow.css')


Like I said, it looks great in Firefox, but the container box aligns too far to the right in Internet Explorer.

Any help would be greatly appreciated.

Thanks :)

andy384
07-26-2005, 08:31 PM
Any help from you guys?

I can't believe this is that hard to fix.

Coober
07-27-2005, 07:29 PM
You only have one </div> (closing) tag on your page, but you have two <div> (opening) tags. Thus one is unclosed.

Put another </div> tag immediately before/after the other (existing) tag.

Coober

Coober
07-27-2005, 09:09 PM
Ok, sorry, I realise that didn't solve the problem.

Coober

Coober
07-27-2005, 09:17 PM
Try this:

Add "left: 0;" to your #content div:


#content {
background-color:#EEEEEE;
text-align:left;
height:100%;
width:100%;
overflow:auto;
position:absolute;
left: 0;
padding:5px;
border:1px dotted #CCCCCC;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
}

That seems to do the trick.

Coober

andy384
07-28-2005, 02:59 PM
Thanks Coober!

That worked perfectly, I really appreciate you helping me out.

Thanks Again :)