Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FF vs. IE

Status
Not open for further replies.

kizmar2

Programmer
May 25, 2004
164
US
I have looked over this code several times now and cannot for the life of me figure out why Firefox is displaying it correctly (the way I want at least), and Internet Explorer does not.

The row in the table that has the email list join (black box) is not showing in IE. I found that if I take out the iframe chunk of code, it shows it... ???

The page is here:
Can anyone help?

KizMar
------------
 
IE may not be forgiving you for a missing TR-opening tag right before that particular table cell.

Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Now that I look at it, I see that your HTML appears to be improperly formatted all over the place.

Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Code:
<tr>

		<td>
			<img src="../images/spacer.gif" height="5" width="10">
		</td>
	</tr>
[!]<!--missing TR tag goes here-->[/!]
		<td align="center">
			<form name="ccoptin" target="_blank">
				<input type="text" name="ea" size="18" alt="Enter e-mail address here." value="enter email address"
					style="font-family: Arial; font-size:10px; border:1px solid #999999;" onFocus="this.select();">
				<input type="submit" name="go" value="Join" class="submit" 
					style="font-family:Arial,Helvetica,sans-serif; font-size:9px;">
				<input type="hidden" name="m" value="1101159051624">

				<input type="hidden" name="p" value="oi">
			</form>
		</td>
	</tr>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
you might want to make step #1

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
Not to mention the three opening html tags, the two closing html tags, the two opening body tags and the two closing body tags. I guess you've got a few other problems to look into as well...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Those are due to my using a <? require("deluxe-menu.html"); ?> when that file is a full html file. Unfortinately, when I stripped out everything but what was inthe body, the menu doesn't show up. I'm going to have to contact the software company for the dhtml menu creator I'm using.

KizMar
------------
 
Why not just create your own? There's a simple example here:


although I'm sure someone here has improved on this and has a sample site with it on that they may let you look at (was it Dan?).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.
 
I had actually coded one in the past, but it didn't perform the way I wanted this to. For this project it was a time constraint. I needed something fast, and all I could find were either personal use only, or pay code examples.

I just ran the page through and cleaned up a lot of the errors. It's still not showing the table rows after where the menu is though...

KizMar
------------
 
OK... the page has been cleaned up... I'm back to the fact that I think it's the iframe code that's stopping the rest of the table items not to show.

Code:
<!--[if IE]>
<iframe name="_body" width="604" height="600" scrolling="yes" marginheight="0" marginwidth="0" src="iframe/home.php" class="mainiframe" frameborder="0"></iframe>
<![endif]-->
				
<!--[if !IE]>-->
<iframe name="_body" width="604" height="600" scrolling="auto" marginheight="0" marginwidth="0" src="iframe/home.php" class="mainiframe" frameborder="0"></iframe>
<!--[endif]-->

When I take this chunk of code out, it works.

KizMar
------------
 
kizmar2

You need to validate all the pages that show in the iframe as well as the main page. There are still many errors.

Some pointers:
You cannot add the coding for a page into a table cell.

There is not much point having a scroll bar on your iframe - put scrolling="no" and height="100%" then you can remove the hack.


Clive
 
I am guessing that you are assuming that 800*600 is the viewable area and it is not. For instance possibly the widest your table can be is about 750px and the viewable height will be way less than 600px.

I would clean up the errors before doing anything else. Start with the home page frame.

Clive
 
I switched back to the old way of selecting an iframe set (PHP instead of the [if IE] stuff) and it works.

I love having to code around IE's bugs.

KizMar
------------
 
Yes, it does state that in the article:
How about other browsers?

In other CSS-aware browsers, like Internet Explorer, you'll see the toplevel links, and they'll work just fine.



____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top