Spellchiller
Neues Mitglied
Hallo zusammen,
ersteinmal: Sehr gutes Forum.
Zu meinem Anliegen:
Ich habe einen sheet für meinen Aufbau. Nun ist es so, dass überbreite Inhalte (z.B. Tabellen) horizontal gescrollt werden sollen. Allerdings ist es dann so, dass der footer verrückt wird und die scrollleiste dahinter verschwindet.
Könnt mir da jmd bitte einen TIpp geben?
Dankeschön!
ersteinmal: Sehr gutes Forum.
Zu meinem Anliegen:
Ich habe einen sheet für meinen Aufbau. Nun ist es so, dass überbreite Inhalte (z.B. Tabellen) horizontal gescrollt werden sollen. Allerdings ist es dann so, dass der footer verrückt wird und die scrollleiste dahinter verschwindet.
Könnt mir da jmd bitte einen TIpp geben?
Dankeschön!
Code:
* {
margin: 0;
padding: 0;
}
body {
font-family: Arial;
font-size: 1em;
color: #000;
background-color: #F5F5F5;
/* 879583 */
/* 639254 */
/* 424940 */
width:100%;
height:100%;
}
a {
text-decoration: none;
}
a img {
border: 0;
text-decoration: none;
}
p {
letter-spacing: 1px;
margin-bottom: 1em;
text-align: justify;
}
#wrapper {
position: relative;
width: 750px;
margin: 30px auto;
border: 15px solid #FFF;
box-shadow: 0px 0px 35px #333;
border-radius: 5px;
}
#head {
position: relative;
color: #000;
background-color: #387c22;
width: 100%;
height: 120px;
border-bottom: 2px solid #FFF;
}
#content {
color: #FFF;
background-color: #363636;
width: 80%; overflow:scroll;
padding-top: 5%;
padding-left: 10%;
padding-right: 10%;
padding-bottom: 15%;
}
#db_button {
float: center;
text-align: center;
vertical-align: center;
background-color: lightgray;
width: 250px;
height: 40px;
padding: 10px;
color: black;
font-size: 25px;
border: 5px;
border-style: solid;
border-color: white;
border-radius: 20px;
margin: 10px;
}
#content p {
text-align: justify;
margin-bottom: 1em;
font-size: 1em;
}
#footer {
font-size: 0.9em;
border-top: 2px solid #FFF;
line-height: 1em;
position: absolute;
bottom: 0%;
width: 100%;
height: 40px;
color: #FFF;
background-color: #387c22;
text-align: center;
}
#footer span {
position: relative;
top: 12px;
}
#head #schrift{
position: absolute;
top: 30%;
right: 4%;
width: 300px;
}
#head #logo{
position: absolute;
top: 14%;
left: 4%;
width: 130px;
}
#head #page {
position: absolute;
top: 38%;
left: 4%;
color: #FFF;
background-color: transparent;
font-size: 1.8em;
}
/* Text formatting */
#content p:first-letter {
font-weight: bold;
}
#content p.quote {
letter-spacing: 1px;
margin: 1.4em;
font-size: 1.4em;
font-style: italic;
text-align: center;
}
#content p {
font-weight: normal;
}
#content em {
font-style: italic;
}
#content h2 {
letter-spacing: 2px;
font-size: 1.9em;
font-weight: normal;
font-family: Arial;
margin-top: 0.5em;
margin-bottom: 0.8em;
}
#content a {
color: #FFF;
text-decoration: none;
font-style: italic;
}
#content a:hover {
text-decoration: underline;
}
/* List elements */
ul {
margin-left: 1em;
list-style-image: url('../images/list_stern.png');
}
ul li {
margin-bottom: 0.4em;
}
/* Form elements */
fieldset {
border: 0;
}
legend {
color: #FFF;
background-color: transparent;
float: left;
margin-right: 1em;
display: block;
width: 110px;
line-height: 1.5em;
vertical-align: bottom;
}
input[type="text"] {
margin-bottom: 1em;
float: left;
width: 210px;
color: #000;
background-color: #EEEEF0;
border: 1px solid #333;
border-radius: 4px;
padding: 4px;
}
input[type="submit"] {
margin-top: 1em;
padding: 0.5em;
border: 1px solid #333;
border-radius: 4px;
display: block;
}
textarea {
color: #000;
background-color: #EEEEF0;
border: 1px solid #333;
border-radius: 4px;
padding: 4px;
width: 99%;
height: 150px;
}
input:focus, input:hover, textarea:focus, textarea:hover {
color: #000;
background-color: #B8C8B2;
border: 1px solid #387c22;
}
/* Misc elements */
.zipfel {
height: 1em;
vertical-align: top;
margin-left: 1.5em;
margin-right: 1.5em;
}
.content-inner-box {
margin: 0 auto;
width: 58%;
text-align: justify;
}
.content-inner-box-large {
margin: 0 auto;
width: 70%;
text-align: justify;
}
.box-transparent {
border: 1px solid #EEE;
text-align: left;
vertical-align: top;
color: #000;
background-image: url('../images/transparent.png');
width: 90%;
padding: 1em;
}