diff --git a/customerrorpage.php b/customerrorpage.php index a427478..d3de5e9 100644 --- a/customerrorpage.php +++ b/customerrorpage.php @@ -32,7 +32,9 @@ $phperror = $_SESSION['sErrorMessage']; function Click() { var open = document.getElementById('exp'); -open.style.display = 'block'; +open.style.display = 'block'; +var border = document.getElementById('error-container'); +border.style.height = '250px'; } diff --git a/resources/css/errors.css b/resources/css/errors.css index f5da2d6..ac4bc70 100644 --- a/resources/css/errors.css +++ b/resources/css/errors.css @@ -1,19 +1,22 @@ div#error-container { - width: 500px; + border:1px solid gray; color: #555; font-size: 11px; - font-family: Verdana, Arial, sans-serif; + font-family: Verdana, Arial, sans-serif; + margin:2em auto; + padding:10px; + width:470px; } -div#error-container div { - height: 140px; -} -div#error-container h1 { - font-weight: lighter; - font-size: 22px; - margin-left: 100px; -} -div#error-container p { - margin-left: 100px; +div#error-container div { + height: 150px; +} +div#error-container h1 { + font-weight: lighter; + font-size: 22px; + margin-left: 100px; +} +div#error-container p { + margin-left: 100px; } div#acc-error {