Commit 56f8985c authored by Timothy Stack's avatar Timothy Stack

Surround the iframe with a div so the width expands to fill the body.

No idea why that fixes things, but it does...  CSS, from hell's heart,
I stab at thee
parent 553498d9
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002, 2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2002, 2005, 2006 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -38,9 +38,24 @@ $newurl = preg_replace("/cvswebwrap/", "cvsweb", $_SERVER['REQUEST_URI']);
#
PAGEHEADER("Emulab CVS Repository");
echo "<iframe width=100% height=800 scrolling=yes src='$newurl' border=0 ".
"style=\"width:100%; height:800; border: 0px\"> ".
"</iframe>\n";
?>
<head>
<style type="text/css">
#cvsfr {
width: 100%;
height: 800px;
}
</style>
</head>
<div id="cvscon">
<iframe id="cvsfr" scrolling=yes src="<?php echo $newurl ?>" border=0></iframe>
</div>
<?php
#
# Standard Testbed Footer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment