summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-09-16 21:27:13 +0200
committerBenny Baumann <BenBE@geshi.org>2013-09-17 00:19:13 +0200
commitd12b9afba02255bf92c56b25bf6d245feefb68ad (patch)
tree8efba4d334a1be0e7b76fd00ab6b3b7e615bf471
parent162133bcc3a12fcaaba2992910ae75ab69bfe954 (diff)
downloadcacert-devel-d12b9afba02255bf92c56b25bf6d245feefb68ad.tar.gz
cacert-devel-d12b9afba02255bf92c56b25bf6d245feefb68ad.tar.xz
cacert-devel-d12b9afba02255bf92c56b25bf6d245feefb68ad.zip
bug 988: added css class to wot/6.php
-rw-r--r--pages/wot/6.php2
-rw-r--r--www/styles/default.css35
2 files changed, 28 insertions, 9 deletions
diff --git a/pages/wot/6.php b/pages/wot/6.php
index 802b85d..96c4964 100644
--- a/pages/wot/6.php
+++ b/pages/wot/6.php
@@ -58,7 +58,7 @@ if(!array_key_exists('notarise',$_SESSION['_config']))
AssureFoot($id,_("I confirm this Assurance"));
if($_SESSION['profile']['ttpadmin'] >= 1) {
- ?><a href="wot.php?id=16"><?=_('Show TTP details')?></a><?;
+ ?><div class='blockcenter'><a href="wot.php?id=16"><?=_('Show TTP details')?></a></div><?
}
?>
diff --git a/www/styles/default.css b/www/styles/default.css
index f2b3c95..a3739d7 100644
--- a/www/styles/default.css
+++ b/www/styles/default.css
@@ -9,10 +9,10 @@
body{
font-family: Arial,sans-serif;
color: #333333;
- line-height: 1.166;
+ line-height: 1.166;
margin: 0px;
padding: 0px;
- background: #cccccc;
+ background: #cccccc;
/* url("/siteimages/bg_grad.jpg") fixed; */
}
@@ -101,7 +101,7 @@ padding: 0px;
right: 2%;
width: 96%;
background-color: #ffffff;
-
+
}
#tl {
@@ -128,7 +128,7 @@ padding: 0px;
left: 2%;
right: 2%;
width:95.6%;
-
+
}
#pageNav{
@@ -213,7 +213,7 @@ background-image: url("siteimages/glbnav_background.gif");
#globalNav img{
margin-bottom: -4px;
-
+
}
#gnl {
@@ -335,11 +335,11 @@ a.glink:hover {
font-size: 70%;
margin: 0px 0px 0px 10px;
}
-
+
#search a:link, #search a:visited {
font-size: 80%;
font-weight: bold;
-
+
}
#search a:hover {
@@ -476,7 +476,7 @@ td.storyLeft{
}
.relatedLinks a{
- display: block;
+ display: block;
}
@@ -653,3 +653,22 @@ div.footerbar {
.robotic { display: none; }
+
+/********* div align ********/
+.blockcenter {
+ text-align:center;
+ margin: 0 auto;
+}
+
+.blockleft {
+ text-align:left;
+ margin: 0;
+ margin-right:auto;
+}
+
+.blockright {
+ text-align:right;
+ margin: 0;
+ margin-left:auto;
+}
+