diff options
author | pjmattal <pjmattal> | 2005-07-28 13:05:50 +0000 |
---|---|---|
committer | pjmattal <pjmattal> | 2005-07-28 13:05:50 +0000 |
commit | bcbc3e3fee3db40c623b272b509e495d2976f36c (patch) | |
tree | dc724d920f81d2927ac108d8b224ad638fad3ff0 /web | |
parent | 3f7330d202e380cc240007746817d18ea6b635dc (diff) |
patches to stylesheet and pkgfuncs.inc to fix Opera rendering problems
in bug #2912
Diffstat (limited to 'web')
-rw-r--r-- | web/html/css/containers.css | 4 | ||||
-rw-r--r-- | web/lib/pkgfuncs.inc | 20 |
2 files changed, 14 insertions, 10 deletions
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 "<center>\n"; print "<table>\n"; print "<tr>\n"; - print " <td colspan='2'><span class='f2'>"; + print " <td class='boxSoft' colspan='2'><span class='f2'>"; print $row["Name"] . " " . $row["Version"]."</span></td>\n"; print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><span class='f3'>"; + print " <td class='boxSoft' colspan='2'><span class='f3'>"; print "<a href='".$row["URL"]."'>".$row["URL"]."</a></span></td>\n"; print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><span class='f3'>".$row["Description"]; + print " <td class='boxSoft' colspan='2'><span class='f3'>".$row["Description"]; print "</a></span></td>\n"; print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><img src='/images/pad.gif' height='30'></td>"; + print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='30'></td>"; print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><span class='f3'>"; + print " <td class='boxSoft' colspan='2'><span class='f3'>"; if ($row["Location"] == "unsupported" and $SID) { $edit_cat = "<a href='/pkgedit.php?change_Category=1&ID="; $edit_cat .= intval($_REQUEST["ID"])."'>".$row["Category"]."</a>"; @@ -308,7 +308,7 @@ function package_details($id=0, $SID="") { print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><span class='f3'>".__("Maintainer").": "; + print " <td class='boxSoft' colspan='2'><span class='f3'>".__("Maintainer").": "; if ($row["MaintainerUID"]) { $maintainer = username_from_id($row["MaintainerUID"]); if ($SID) { @@ -324,10 +324,10 @@ function package_details($id=0, $SID="") { } print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><img src='/images/pad.gif' height='15'></td>"; + print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='15'></td>"; print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><span class='f3'>"; + print " <td class='boxSoft' colspan='2'><span class='f3'>"; if ($row["LocationID"] == 2) { print "<a href='".$row['URLPath']."'>".__("Tarball")."</a> :: <a href='".dirname($row['URLPath'])."/".$row['Name']."'>".__("Files")."</a></span></td>"; } elseif ($row["LocationID"] == 3) { @@ -335,7 +335,7 @@ function package_details($id=0, $SID="") { } print "</tr>\n"; print "<tr>\n"; - print " <td colspan='2'><img src='/images/pad.gif' height='30'></td>"; + print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='30'></td>"; print "</tr>\n"; print "<tr>\n"; print " <td valign='top' style='padding-right: 10'>"; @@ -445,7 +445,7 @@ function package_details($id=0, $SID="") { if (!empty($comments)) { while (list($indx, $carr) = each($comments)) { print "<tr>\n"; - print " <td colspan='2'>"; + print " <td class='boxSoft' colspan='2'>"; print "<img src='/images/pad.gif' height='2'></td></tr>\n"; print "<tr>\n"; |