Commit 80d66d1b31d619e0d800dbe38e45ec1615846cb0

Authored by ydavids
1 parent 9f1e2e1e

KTS-2646

"Database exception handler needs to be fixed"
Fixed. Centred the text container. 

Committed By:Yusuf Davids
Reviewed By:Jalaloedien Abrahams

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7879 c91229c3-7414-0410-bfa2-8a42b809f60b
customerrorpage.php
... ... @@ -32,7 +32,9 @@ $phperror = $_SESSION['sErrorMessage'];
32 32 function Click()
33 33 {
34 34 var open = document.getElementById('exp');
35   -open.style.display = 'block';
  35 +open.style.display = 'block';
  36 +var border = document.getElementById('error-container');
  37 +border.style.height = '250px';
36 38 }
37 39  
38 40 </script>
... ...
resources/css/errors.css
1 1 div#error-container {
2   - width: 500px;
  2 + border:1px solid gray;
3 3 color: #555;
4 4 font-size: 11px;
5   - font-family: Verdana, Arial, sans-serif;
  5 + font-family: Verdana, Arial, sans-serif;
  6 + margin:2em auto;
  7 + padding:10px;
  8 + width:470px;
6 9 }
7   -div#error-container div {
8   - height: 140px;
9   -}
10   -div#error-container h1 {
11   - font-weight: lighter;
12   - font-size: 22px;
13   - margin-left: 100px;
14   -}
15   -div#error-container p {
16   - margin-left: 100px;
  10 +div#error-container div {
  11 + height: 150px;
  12 +}
  13 +div#error-container h1 {
  14 + font-weight: lighter;
  15 + font-size: 22px;
  16 + margin-left: 100px;
  17 +}
  18 +div#error-container p {
  19 + margin-left: 100px;
17 20 }
18 21  
19 22 div#acc-error {
... ...