Firefox

  • Thread starter Thread starter Fred the Ted
  • Start date Start date
F

Fred the Ted

I use FP 2002 and although the pages look ok on IE they are elonggated when
viewed on firefox. On IE I used to have to hit the compatability button but
some kind person on this forum gave me some code to add to the html and it
has always looked great. Is there a peice of code that would do the same in
Firefox?
 
This is from your Webpage with IE7
USA time 7:08 PM Texas

<?
// Explode HTTP_ENV_VARS SERVER_NAME in to parts seperated by "."
$hostparts = explode(".", $_SERVER["HTTP_HOST"]);
// How many parts are there? Must be at least 4 for it to contain a
subdomain
// e.g. www.<something>.book-holidays-direct.com
// If it's not a subdomain redirect to index.htm, saves a filexist check.
if ( count($hostparts) > 3)
{
// assume $hostparts[1] is the name of the file
$filename="$hostparts[1].htm";
// If File exists display it by including it, if it doesn't default to
index.htm
if ( file_exists($filename))
{
$includefile=$filename;
}
else
{
$includefile="index.htm";
}
}
else
{
$includefile="index.htm";
}
// Include htm file
include ($includefile);

?>
 
The CSS used with many of your include files contain errors:

Warning: Error in parsing value for property 'vertical-align'. Declaration
dropped.
Source File: http://www.go-there.co.uk/includes/css/CalendarPopup.css
Line: 6

Warning: Unknown property 'word-wrap'. Declaration dropped.
Source File: http://s7.addthis.com/static/r07/widget27.css
Line: 1

Warning: Error in parsing value for property 'cursor'. Declaration dropped.
Source File: http://s7.addthis.com/static/r07/widget27.css
Line: 1

Warning: Expected declaration but found '*'. Skipped to next declaration.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 840

Warning: Expected declaration but found '*'. Skipped to next declaration.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 864

Warning: Expected declaration but found '*'. Skipped to next declaration.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 1021

Warning: Selector expected. Ruleset ignored due to bad selector.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 1452

Warning: Expected declaration but found '*'. Skipped to next declaration.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 2111

Warning: Error in parsing value for property 'padding-bottom'. Declaration
dropped.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 2192

Warning: Selector expected. Ruleset ignored due to bad selector.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 2327

Warning: Error in parsing value for property 'background-image'.
Declaration dropped.
Source File: http://www.go-there.co.uk/includes/css/global.css
Line: 2630

and more in the include files themselves ...


There are also lots (I stopped counting at 20) of JavaScript errors such as:

Warning: test for equality (==) mistyped as assignment (=)?
Source File:
http://maps.gstatic.com/intl/en_ALL/mapfiles/193c/maps2.api/main.js
Line: 271, Column: 37
Source Code:
function qh(a,b){var c=[];if(a=a.__e_)if(b)a&&Ke(c,a);else
tc(a,function(d,f){Ke(c,f)});


All or any of these could be contributing to the problem.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
OK your Server start or index.php <<<<<<
http://www.majorca.holidays-2.co.uk/index.php >>>>>.

<? /// is a no no
<?php //// is the right way for your server so that it can send you from
index.pnp to index.htm
for it look like your server is not running PHP magic _quotes=off <? > But
<?PHP > only

I hope the new search box is not in magic _quotes your it will not work too!
O by the way frontpage Add-ons will not run if magic _quotes=on



Hot-text said:
This is from your Webpage with IE7
USA time 7:08 PM Texas

<?
// Explode HTTP_ENV_VARS SERVER_NAME in to parts seperated by "."
$hostparts = explode(".", $_SERVER["HTTP_HOST"]);
// How many parts are there? Must be at least 4 for it to contain a
subdomain
// e.g. www.<something>.book-holidays-direct.com
// If it's not a subdomain redirect to index.htm, saves a filexist check.
if ( count($hostparts) > 3)
{
// assume $hostparts[1] is the name of the file
$filename="$hostparts[1].htm";
// If File exists display it by including it, if it doesn't default to
index.htm
if ( file_exists($filename))
{
$includefile=$filename;
}
else
{
$includefile="index.htm";
}
}
else
{
$includefile="index.htm";
}
// Include htm file
include ($includefile);

?>


Fred the Ted said:
Sorry. Click on http://www.majorca.holidays-2.co.uk If the search box on
the
page doesn't show then don't worry as we are in the process of uploading
a
new search box and it is waiting to populate.
 
Back
Top