Problem with layout in IE, IE doesnt display page correctly but FF etc do |
Problem with layout in IE, IE doesnt display page correctly but FF etc do |
mattmac |
Feb 18 2008, 10:48 AM
Post
#1
|
Group: Members Posts: 1 Joined: 18-February 08 Member No.: 4,992 |
www.prox-me.com appears correctly in firefox etc. but not in IE. I'm a novice so no idea whats doing it. below are the PHP and CSS. Any help would be great.
CODE <?php if (basename(__FILE__) == basename($_SERVER['PHP_SELF'])) { exit(0); } echo '<?xml version="1.0" encoding="utf-8"?>'; ?> <!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" lang="en-US" xml:lang="en-US"> <head> <meta name="verify-v1" content="/8ku32MITvi6t4x+Nj1jplpQ5OPP1yePkYbbvXzNWK0=" /> <meta name="keywords" content="HTML, web, proxy, anon, anonymous, free" /> <meta name="description" content="prox-me is a web-based anonymous proxy service which allows anyone to surf the Web privately and securely"> <title>prox-me.com Free Proxy Service. Myspace, bebo, facebook etc. compatible</title> <link rel="stylesheet" type="text/css" href="style.css" title="Default Theme" media="all" /> </head> <body onload="document.getElementById('address_box').focus()"> <div id="container"> <p> <center> <a href="http://www.prox-me.com"><img src="logo.gif" alt="Logo" width="296" height="67" border="0" /></a> </center></p> <p><center>Free Web Proxy Service</center> <?php switch ($data['category']) { case 'auth': ?> </p> <p> <?php break; case 'error': echo '<div id="error"><p>'; switch ($data['group']) { case 'url': echo '<b>URL Error (' . $data['error'] . ')</b>: '; switch ($data['type']) { case 'internal': $message = 'Failed to connect to the specified host. ' . 'Possible problems are that the server was not found, the connection timed out, or the connection refused by the host. ' . 'Try connecting again and check if the address is correct.'; break; case 'external': switch ($data['error']) { case 1: $message = 'The URL you\'re attempting to access is blacklisted by this server. Please select another URL.'; break; case 2: $message = 'The URL you entered is malformed. Please check whether you entered the correct URL or not.'; break; } break; } break; case 'resource': echo '<b>Resource Error:</b> '; switch ($data['type']) { case 'file_size': $message = 'The file your are attempting to download is too large.<br />' . 'Maxiumum permissible file size is <b>' . number_format($GLOBALS['_config']['max_file_size']/1048576, 2) . ' MB</b><br />' . 'Requested file size is <b>' . number_format($GLOBALS['_content_length']/1048576, 2) . ' MB</b>'; break; case 'hotlinking': $message = 'It appears that you are trying to access a resource through this proxy from a remote Website.<br />' . 'For security reasons, please use the form below to do so.'; break; } break; } echo 'An error has occured while trying to browse through the proxy. <br />' . $message . '</p></div>'; break; } ?> </p><center> <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> <ul id="form"> <li id="address_bar"><label>Web Address <input id="address_box" type="text" name="<?php echo $GLOBALS['_config']['url_var_name'] ?>" value="<?php echo isset($GLOBALS['_url']) ? htmlspecialchars($GLOBALS['_url']) : '' ?>" onfocus="this.select()" /></label> <input id="go" type="submit" value="Go" /></li></center> <div align="center"><br /> <!-- Begin BidVertiser code --> <script LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=111660&bid=268068" type="text/javascript"></SCRIPT> <noscript><a href="http://www.bidvertiser.com">pay per click advertising</a></noscript> <!-- End BidVertiser code --> <table width="98%" border="0" cellpadding="1"> <tr> <td width="55%"><ul id="form2"> <?php foreach ($GLOBALS['_flags'] as $flag_name => $flag_value) { if (!$GLOBALS['_frozen_flags'][$flag_name]) { echo '<li class="option"><label><input type="checkbox" name="' . $GLOBALS['_config']['flags_var_name'] . '[' . $flag_name . ']"' . ($flag_value ? ' checked="checked"' : '') . ' />' . $GLOBALS['_labels'][$flag_name][1] . '</label></li>' . "\n"; } } ?> </ul> </td> <td width="48%"> <!-- Begin BidVertiser code --> <script LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=111660&bid=268071" type="text/javascript"></SCRIPT> <noscript><a href="http://www.bidvertiser.com">pay per click advertising</a></noscript> <!-- End BidVertiser code --> </td> </tr> </table> </div> </ul> </form> <!-- Begin BidVertiser code --> <script LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=111660&bid=268068" type="text/javascript"></SCRIPT> <noscript><a href="http://www.bidvertiser.com">pay per click advertising</a></noscript> <!-- End BidVertiser code --> <br /><center> <a href="http://www.gamerzvids.com">GamerzVids.com</a><a href="http://proxiesatwork.com">ProxiesAtWork.com</a><a href="http://www.proxybucket.com">Proxy List</a><a href="http://www.tech-faq.com">The Tech FAQ</a><a href="http://www.unlock5.com/">Proxy Sites</a><a href="http://www.fortliberty.org">Fort Liberty</a><a href="http://www.atproxy.net">atproxy</a><a href="http://www.webproxyindex.com">Web Proxy Index</a><a href="http://www.getproxies.net">getproxies</a><a href="http://www.allproxysites.com">allproxysites</a><a href="http://www.proxywebsites.biz">proxywebsites</a><a href="http://www.mylinktrain.com">mylinktrain</a><br /><br /> <a href="http://www.topmyspaceproxies.info/"><img src="http://www.topmyspaceproxies.info/button.php?u=mattmac1" alt="Top Myspace Proxies" border="0" /></a><a href="http://www.bestproxysites.com/"> <img src="http://www.bestproxysites.com/button.php?u=mattmac1" alt="Best Proxy Sites" border="0" /> </a></center></div> <script type="text/javascript" src="http://cetrk.com/pages/scripts/0007/5919.js"> </script> </body> </html> CODE body, input { font-family: "Bitstream Vera Sans", Arial, Helvetica, sans-serif; color: #44352C; background-image:url(http://www.prox-me.com/bg.gif); } a { color: #9B9C83; text-decoration:none; border-bottom: 1px #0099FF dashed; } a:hover { color: #0080FF; } #container { border: 1px #9B9C83 solid; margin: auto; padding: 5px; width: 735px; background-color:#CCCCCC } #title { color: #CC6633; margin: 0; } ul#navigation, ul#form { list-style-type: none; padding: 0; margin: 0; } ul#navigation { float: right; } ul#form { clear: both; } ul#navigation li { float: left; margin: 0; padding: 5px 0; border-top: 2px #BFAA9B solid; } ul#navigation li a { font-weight: bold; color: #ffffff; background-color: #AA8E79; padding: 5px 15px; margin-left: 1px; text-decoration: none; border-bottom: 0 #ffffff solid; } ul#navigation li a:hover { color: #44352C; } ul#form li { width: 700px; } #footer { color: #9B9C83; font-size: small; text-align: right; } #address_bar { border-top: 2px #BFAA9B solid; border-bottom: 3px #44352C solid; background-color: #6699FF; text-align: center; padding: 5px 0; color: #ffffff; } #go { background-color: #CCCCCC; font-weight: bold; color: #0000CC; border: 0 #ffffff solid; padding: 2px 5px; } #address_box { width: 500px; } .option { padding: 2px 0; background-color: #CCCCCC; } .option label { border-bottom: 2px #CCCCCC solid; } form { margin: 0; } #error, #auth { background-color: #BF6464; border-top: 1px solid #44352C; border-bottom: 1px solid #44352C; width: 700px; clear: both; } #auth { background-color: #94C261; } #error p, #auth p, #auth form { margin: 5px; } Thanks |
pandy |
Feb 18 2008, 11:12 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Start with correcting the markup errors. Some of them are structural and could affect how the page displays.
http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes Also, the XML declaration puts IE in Quirks Mode. That probably doesn't helpt either. http://hsivonen.iki.fi/doctype/ |
Lo-Fi Version | Time is now: 28th March 2024 - 05:45 AM |