Re: firefox only problem

From: Date: Tue, 05 Dec 2006 21:58:44 +0000
Subject: Re: firefox only problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-245541@lists.php.net to get a copy of this message
Ross wrote: > This is the head of my doc. It is supposed to change the page height based > on the selection from the menu. It works in IE and validates ok but it is no > go in firefox. Any ideas?? try a CSS list ; google for CSS-Discuss (Eric Meyers list) > You can see it in action here... > > http://suruchitoo.com/menu.php > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" > /> > <title>SuruchiToo - Menu</title> > <link href="suruchi.css" rel="stylesheet" type="text/css" > /> > > <?php > > > $select = isset($_REQUEST['select']) ? $_REQUEST['select'] : ''; > > switch ($select) { > case "starters": > $selection = "starters.php"; > > break; > case "mains": > $selection = "mains.php"; > ?><style type="text/css">#side, #main, #holder, {height: 1400px;} > #menu_insert {height:950px;}</style><? > break; > > > case "veg": > $selection = "veg.php"; > ?><? > break; > > case "rice": > $selection = "rice.php"; > ?><style type="text/css">#side, #main, #holder, {height: 1000px;} > #menu_insert {height:950px;}</style><? > break; > case "drinks": > $selection = "drinks.php"; > ?><style type="text/css">#side, #main, #holder, {height: 1600px;} > #menu_insert {height:950px;}</style><? > > break; > default: > $selection = "starters.php"; > ?><style type="text/css">#side, #main, #holder, {height: 1400px;} > #menu_insert {height:950px;}</style><? > break; > > } > > ?> >

« previous php.general (#245541) next »