From bcbc3e3fee3db40c623b272b509e495d2976f36c Mon Sep 17 00:00:00 2001 From: pjmattal Date: Thu, 28 Jul 2005 13:05:50 +0000 Subject: patches to stylesheet and pkgfuncs.inc to fix Opera rendering problems in bug #2912 --- web/html/css/containers.css | 4 ++++ web/lib/pkgfuncs.inc | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'web') diff --git a/web/html/css/containers.css b/web/html/css/containers.css index 0b355e5..2a0a0e4 100644 --- a/web/html/css/containers.css +++ b/web/html/css/containers.css @@ -95,11 +95,13 @@ { width: 90%; background-color: #ddd; + text-align: left; } td.boxSoft { background-color: #fff; padding: 10; + text-align: left; } td.boxSoftColumn { @@ -168,12 +170,14 @@ background-color: #eee; vertical-align: top; padding-left: .3em; + text-align: left; } td.data2 { background-color: #ddd; vertical-align: top; padding-left: .3em; + text-align: left; } td.text { diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 1badb3c..2eb47d4 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -280,22 +280,22 @@ function package_details($id=0, $SID="") { print "
\n"; print "\n"; print "\n"; - print " \n"; print "\n"; print "\n"; - print " \n"; print "\n"; print "\n"; - print " \n"; print "\n"; print "\n"; - print " "; + print " "; print "\n"; print "\n"; - print " \n"; print "\n"; - print " \n"; print "\n"; - print " "; + print " "; print "\n"; print "\n"; - print " "; } elseif ($row["LocationID"] == 3) { @@ -335,7 +335,7 @@ function package_details($id=0, $SID="") { } print "\n"; print "\n"; - print " "; + print " "; print "\n"; print "\n"; print " \n"; - print " \n"; print "\n"; -- cgit v1.2.3-54-g00ecf
"; + print " "; print $row["Name"] . " " . $row["Version"]."
"; + print " "; print "".$row["URL"]."
".$row["Description"]; + print " ".$row["Description"]; print "
"; + print " "; if ($row["Location"] == "unsupported" and $SID) { $edit_cat = "".$row["Category"].""; @@ -308,7 +308,7 @@ function package_details($id=0, $SID="") { print "
".__("Maintainer").": "; + print " ".__("Maintainer").": "; if ($row["MaintainerUID"]) { $maintainer = username_from_id($row["MaintainerUID"]); if ($SID) { @@ -324,10 +324,10 @@ function package_details($id=0, $SID="") { } print "
"; + print " "; if ($row["LocationID"] == 2) { print "".__("Tarball")." :: ".__("Files")."
"; @@ -445,7 +445,7 @@ function package_details($id=0, $SID="") { if (!empty($comments)) { while (list($indx, $carr) = each($comments)) { print "
"; + print " "; print "