Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tj2001

macrumors regular
Original poster
Hi all!

Trying to cross browser design right... and boy is it fun 🙂
Well t looks fine in Safari & Internet Explorer so far.
It was working in Firefox but no clue what I broke!

http://macmasta.homeip.net/ocalagrooming/www/
Here is the code of the index.php

Code:
<?	
	if (!isset($page)) {
		$page 	= "home.php";
	}
	//phpinfo();
?>
<html>
<head>
	<title>··· Groomed to Perfection ··· Your #1 stop for perfect animal care & grooming!</title>
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="expires" content="never">
	<meta name="language" content="english">
	<meta name="charset" content="ISO-8859-1">
	<meta name="distribution" content="Global">
	<meta name="robots" content="all">
	<meta name="author" content="Mac Dynamix - www.macdynamix.com - Copyright © 2005">
	<meta name="copyright" content="Copyright ©2005 -">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<frameset rows="190,*, 75" frameborders="no" border="0">
    <frame src="top.php" name="top" scrolling="no" frameborder="0" noresize />
    <frameset cols="148,*" frameborders="no" border="0">
        <frame src="side.php" name="side" scrolling="no" frameborder="0" noresize />
        <frameset rows="30,*" frameborders="no" border="0">
            <frame src="page_greeting.php" name="greet" scrolling="no" frameborder="0" noresize />            
            <frame src="<? echo $page; ?>" name="main" scrolling="auto" frameborder="0" noresize />
        </frameset>
    </frameset>
	<frame src="bottom.php" name="bottom" scrolling="no" frameborder="0" noresize />
</frameset>
<noframes>
	<center><h1>Groomed to Perfection</h1><font size="+2">
	Your browser doesn't support frames! ***(Or you have them turned off...)<br /><br />
	Please upgrade your web browser or use an aternative:<br />
	MS Interent Explorer - <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=1e1550cb-5e5d-48f5-b02b-20b602228de6&DisplayLang=en" target="_blank">Get It Here</a><br />
	Netscape Navigator - <a href="http://browser.netscape.com/ns8/" target="_blank">Get It Here</a><br />
	Mozilla Firefox - <a href="http://www.mozilla.org/products/firefox/" target="_blank">Get It Here</a><br />
	Apple Safari - <a href="http://www.apple.com/safari/download/" target="_blank">Get It Here</a><br />
	</font></center>
</noframes>

</body>
</html>


If anyone can peak with Firefox and get the source and give me a hand I would be grateful!
 
tj2001 said:
🙁 No help at all? 🙁

When you added the doctype, did it validate? I would be surprised if you could get it to validate and not appear in FF correctly....
 
tj2001 said:
Even after adding a <!DOCTYPE... it still doesn't render at all in Firefox. It was earlier and unfortunately it isn't now...

Anyone else with ideas?

What DOCTYPE did you specify? It seems you are trying to create an XHTML document, based on a number of "/>"s in the file. But all the meta tags are missing the / needed in the tag ends.

For example, for XHTML

<meta name="description" content="">

needs to be

<meta name="description" content="" />
 
Also, you should not be using <body> and <frameset> tags in the same document. It's one or the other.
 
Thank You!!!!!!

dejo said:
Also, you should not be using <body> and <frameset> tags in the same document. It's one or the other.

Dejo,

Thank you very much!!! It was exactly the <body> tag that stopped it! I really appreciate you pointing this out! I was going crazy! Something so simple yet so aggravating and small. Thanks a lot!
 
tj2001 said:
Dejo,

Thank you very much!!! It was exactly the <body> tag that stopped it! I really appreciate you pointing this out! I was going crazy! Something so simple yet so aggravating and small. Thanks a lot!

You're quite welcome! It's a common mistake (i.e. I've made it too!) and shows that IE and Safari allow "lazier" HTML than Firefox. As aluded to before, decide which HTML/XHTML you are wanting to code to, include the correct DOCTYPE for it at the beginning of your document, and verify it using the W3C Validator. That helps you to create (but, of course, not guarantee) the most cross-browser-compliant pages.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.