Oh, and i forgot the most important recommendation:
Use a doctype and validate your html code.
http://www.htmlhelp.com/to
Main Topics
Browse All TopicsI am using the IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.c
to size my IFrame accordingly. The frame will display in the correct location with IE (inside nested table) but it is shifted completely outside the table in FIrefox. The site is www.kachele.com. If you look at it with IE and then with Firefox you will see the problem. Any help??
Thanks,
JK
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Oh, and i forgot the most important recommendation:
Use a doctype and validate your html code.
http://www.htmlhelp.com/to
> what you meant about not using javascript for layout.
I mean using javascript to adjust the layout, like the dimension of the elements.
That's what the "Dynamic Drive DHTML code library" seems to be doing.
It makes the code much harder to debug and maintain.
In case of iframes, you don't really have a choice but using javascript if you want the height of the iframe to match the height of the page it contains.
The basic idea is to use html for the content, CSS for the presentation, and javascript for additional enhancements.
But that would require lots of modifications.
Business Accounts
Answer for Membership
by: GrandSchtroumpfPosted on 2005-07-26 at 13:37:48ID: 14531375
Don't ask me why, but adding a 1px left border on your iframe solves the problem.
Add the following code inside the <head> of your html:
<style type="text/css">
iframe {
border-left: 1px solid white;
}
</style>
That's just a quick fix.
You might want to consider changing your complete layout to something easier to manage.
These are the basic recommendations:
Don't use tables for layout (use CSS instead).
Don't use javascript for layout (use javascript only for website enhancements).
Avoid using frames when you can (use server-side includes instead).