Click to See Complete Forum and Search --> : Text Not Displaying Properly


jangell2
11-30-2005, 02:20 PM
I've got this page (http://www.teamfurr.org/pages/buddy01.shtml) : in which the text displays just fine in Firefox but not in IE. I've already found that I'm missing an ending TD tag for each of the 3 large images on the page. I've fixed that on my testing system, but it doesn't fix the problem.

The problem occurs when the width of the browser page is narrow enough to cause the text block to get tall enough to cause the problem. Firefox handles it fine but not IE.

Can anyone see what the problem code is?

Thank you for any assistance.

johnny

Fang
12-01-2005, 01:06 PM
Having 3 opening body tags might have something to do with it.

jangell2
12-02-2005, 09:08 AM
Having 3 opening body tags might have something to do with it.

Those 2 extra opening body tags are in 2 server side includes each of which contain "onLoad" events. Can the onLoad event go into a different tag, or would just closing each body tag fix the problem. Of course, that leads to the question of whether you can have more than one body tag?

Fang
12-02-2005, 10:09 AM
The onload functions must be grouped together, preferably in a script element.
<script type="text/javascript">
window.onload=function() {
doSomething();
doMore();
}
</script>

The document can only have 1 opening and 1 closing body tag. The server-side includes must be changed.

thewebman
12-02-2005, 12:14 PM
you can use other tags for the onLoad effects, but Fang is right, group them together; that way they're easier to look at.

jangell2
12-08-2005, 01:46 PM
Ok, thank you. I'll work on getting into java script.