CSS Problem

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • CSS Problem

    habn Problem mit ner CSS Box.
    Es handelt sih um die errormsgbox
    Diese will einfach nicht unter den Header runter. Die klebt ganz oben fest.

    PHP-Quellcode

    1. <style type="text/css">
    2. body
    3. {
    4. background-image:url(images/background.png);
    5. background-repeat:no-repeat;
    6. background-position:top;
    7. }
    8. body {
    9. font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    10. font-size:12px;
    11. }
    12. .registration_form {
    13. margin:0 auto;
    14. width:500px;
    15. padding:14px;
    16. }
    17. label {
    18. width: 10em;
    19. float: left;
    20. margin-right: 0.5em;
    21. display: block
    22. }
    23. .submit {
    24. float:right;
    25. }
    26. fieldset {
    27. background:#EBF4FB none repeat scroll 0 0;
    28. border:2px solid #88ba3d;
    29. width: 500px;
    30. margin-top: -400px;
    31. }
    32. legend {
    33. color: #fff;
    34. background: #88ba3d;
    35. border: 1px solid #88ba3d;
    36. padding: 2px 6px
    37. }
    38. .elements {
    39. padding:10px;
    40. }
    41. p {
    42. border-bottom:1px solid #88ba3d;
    43. color:#666666;
    44. font-size:11px;
    45. margin-bottom:20px;
    46. padding-bottom:10px;
    47. }
    48. a{
    49. color:#0099FF;
    50. font-weight:bold;
    51. }
    52. /* Box Style */
    53. .success, .warning, .errormsgbox, .validation {
    54. border: 1px solid;
    55. margin: 0 auto;
    56. padding:10px 5px 10px 50px;
    57. background-repeat: no-repeat;
    58. background-position: 10px center;
    59. font-weight:bold;
    60. width:450px;
    61. }
    62. .success {
    63. color: #4F8A10;
    64. background-color: #DFF2BF;
    65. background-image:url('images/success.png');
    66. }
    67. .warning {
    68. color: #9F6000;
    69. background-color: #FEEFB3;
    70. background-image: url('images/warning.png');
    71. }
    72. .errormsgbox {
    73. color: #D8000C;
    74. background-color: #FFBABA;
    75. background-image: url('images/error.png');
    76. }
    77. .validation {
    78. color: #D63301;
    79. background-color: #FFCCBA;
    80. background-image: url('images/error.png');
    81. }
    82. </style>
    Alles anzeigen
  • Werbung zur Unterstützung des Forums ( Bitte AddBlocker deaktivieren )