ZwoksKorbi
Mitglied
Hallo Community,
ich arbeite gerade an einem Kalendersystem, es funktioniert soweit alles, nur das layout macht mich noch Schwierigkeiten...
Erstmal ein Screenshot wie es immoment aussieht:
Das ganze wird mit PHP/MySQL generiert.
Immoment weiß ich echt nicht weiter, hab schon verschiedenes probiert.
Ich habs gerade so gelöst, dass ich die breite des eigentlichen kalenders über expressions im css gelöst hab. Insofern kein Problem, da wir hier nur Internet Explorer v.6 einsetzen.
Ich hätte es gerne so:
hier mal der momentane Stand:
(Achtung: dirty Code ^10, bin immoment so verzweifelt am teste, ich hoffe ihr könnt mir helfen.)
css:
Den HTML-Part hab ich hier mal auf meinem Webspace gespeichert.
Die htm-codebox wollte meine Zeilenumbrüche nicht ...
http://kkugelmann.de/work/kalenderhtml.php
ich hoffe ihr könnt mir helfen.
und ich Entschuldige mich nochmal für den unsauberen code.
Gruß
Korbi
ich arbeite gerade an einem Kalendersystem, es funktioniert soweit alles, nur das layout macht mich noch Schwierigkeiten...
Erstmal ein Screenshot wie es immoment aussieht:

Das ganze wird mit PHP/MySQL generiert.
Immoment weiß ich echt nicht weiter, hab schon verschiedenes probiert.
Ich habs gerade so gelöst, dass ich die breite des eigentlichen kalenders über expressions im css gelöst hab. Insofern kein Problem, da wir hier nur Internet Explorer v.6 einsetzen.
Ich hätte es gerne so:

hier mal der momentane Stand:
(Achtung: dirty Code ^10, bin immoment so verzweifelt am teste, ich hoffe ihr könnt mir helfen.)
css:
Code:
/* Allgemeine Definitionen */
* {
padding:0;
margin:0;
border:0;
}
body, html {
height:100%;
text-align:center;
}
html {
overflow: hidden;
}
body {
background-color: #0C3A6D;
font-family: Arial, sans-serif;
}
a:link,a:visited,a:hover,a:active,a:focus {
text-decoration:none;
color:black;
}
h1 {
font-size:120%;
color:#c0c0c0;
text-decoration:none;
}
h2 {
font-size:120%;
color:#666666;
font-style:italic;
margin-bottom:-10px;
}
/* ID Definitionen */
#header {
border-bottom: 1px solid black;
background-color: #FFFFFF;
width: 100%;
height: 50px;
margin-right: 10px;
padding: 10px;
position: relative;
}
#header h1 {
margin: 0;
}
#header strong {
color: #888888;
}
#overallContainer {
position: relative;
overflow: hidden;
width: 100%;
height: expression(document.body.clientHeight);
padding:0;
margin:0 auto;
text-align:left;
}
#leftContainer {
width: 250px;
float: left;
height: 100%;
}
#rightContainer {
margin-top: 10px;
float: left;
overflow: auto;
margin-right: 10px;
}
#menueheading {
color: #666666;
font-size: 120%;
}
#room {
border: 1px solid #000000;
}
/* ---------- Klassen Definitionen ----------- */
/*Schriftgröße*/
.small {
font-size: 85%;
}
.smaller {
font-size: 75%;
}
.tiny {
font-size: 50%;
}
/*Breite*/
.fullwidth {
width: 100%;
}
.halfwidth {
width: 50%;
}
/*Sidebar*/
.sidebar {
border-width: 1px 1px 1px 0px;
border-style: solid;
border-color: #000000;
background-color: #FFFFFF;
margin-top: 10px;
margin-right: 10px;
padding: 10px;
}
.sidebar li {
list-style: circle;
margin: 0 10px;
}
/*Kalendertabelle*/
.tbl_kalender {
border: 1px solid #808080;
background-color: white;
}
.tbl_kalender td {
text-align: center;
vertical-align: top;
padding:0px;
margin:0px;
overflow:hidden;
}
.header {
border:0px;
height: 35px;
border-bottom:1px solid #808080;
background-color:#c0c0c0;
text-align: center;
}
.tage {
height: 15px;
text-align: center;
}
.td_outofmonth {
background-color:#dcdcdc;
min-width: 60px;
max-width: 130px;
padding:0px;
margin:0px;
border-width: 1px;
border-style: solid;
border-color: #808080;
}
.td_inmonth {
background-color:#c0c0c0;
min-width: 60px;
max-width: 130px;
padding:0px;
margin:0px;
border-width: 1px;
border-style: solid;
border-color: #808080;
}
.today {
border-left:2px solid #696969;
border-bottom:2px solid #696969;
background-color: #fffacd;
padding: 0px;
margin: 0px;
}
.inMonthDiv {
height: 100%;
}
/*Tagesansicht*/
.dayViewAppointment {
background-color: #FFFFFF;
border: 1px solid #333333;
margin-top:10px;
padding: 5px;
width: 70%;
}
Den HTML-Part hab ich hier mal auf meinem Webspace gespeichert.
Die htm-codebox wollte meine Zeilenumbrüche nicht ...
http://kkugelmann.de/work/kalenderhtml.php
ich hoffe ihr könnt mir helfen.
und ich Entschuldige mich nochmal für den unsauberen code.
Gruß
Korbi
Zuletzt bearbeitet: