I have to agree - in part. If you have bad html, IE will do strange
things. I had something like:
<div>
.....
</div
<div>
----
</div>
and cussed out IE because Firefox and Safari rendered right - but
found it was may missing ">". You just have to check your generated
HTML. It's a pain, but view source, copy to something that can check
HTML (bbedit or whatever) and you may find your problem.
From the original post, it sounds like something was floated outside
of the content div. The CSS for the Demo is good, but it took me a
while to figure out that the sidebar is floated left and the content
is relative with a big left margin. I did have some problems with IE
when the breadcrumb div was displayed. In the demo code, $breadcrumbs-
>write is outside of the content div. On IE, the gray background
will cover up part of the sidebar. I fixed that by putting
$breadcrumbs->write inside the content div.
I too experienced the problem with the content going below the
sidebar. I can't remember exactly, but seem to remember floating
something inside of content without a width and then doing a clear
both. All floated block elements must have a width or strange stuff
will happen.
Steve Alex
On Jan 9, 2007, at 7:42 PM, Bill Leddy wrote:
I've had somewhat similar experiences with IE and (i can't believe
I'm saying this!) IE was not really to blame. Not completely anyway.
Long story short IE does a MUCH better job if the html validates to
the DTD of your page. I always use XHTML 1.0, transitional or
strict, but I don't know if that has any impact vs. HTML 4.
If there are errors in you html, IE can just go NUTS in ways that
seem totally unrelated to the location or severity of the error.
Safari and Moz just chug right along on the same page. Apparently
from what I've read it's something to do with IE's "Quirks Mode".
Once it gets confused, it will get real creative on you.
Bill
On Jan 9, 2007, at 1:39 PM, Aparajita Fishman wrote:
Have an odd occurrence happening when we view our site with IE.
We have built a site based off the Active4D Demo, but the main
content of the web site shifts down to the bottom of the page.
Welcome to the nightmare of IE6. Ideally you should not have to
create a custom stylesheet for IE, often it is a matter of
tweaking your CSS rules so that they work more or less work
correctly with IE. Google searches sometimes turn of clues.
A good resource is www.positioniseverything.net. If you know a
very experienced web designer, they often can guide you through
these things (I have one I use if you need help).
Regards,
Aparajita
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/