hallo nitramf
Zitat Frage1: das Problem ist, dass ich die Erweiterung TemplaVoila nutze, die wird mir da sicherlich rein funken, oder?
Es tut mir leid, doch da ich noch nie mit TemplaVoila gearbeitet habe, kann ich dir diese Frage nicht beantworten. Doch mein Gefühl sagt mir, ja wird wohl reinfunken.
Zitat Frage2: Wenn ich es mit dem text-align probiere, geht es ja nicht, mal davon abgesehen, dass das Design dann im Firefox anders dargestellt wird. Können andere HTML Doctypes oder Header da helfen?
Dies sind eben so die Eigenheiten von IE... nein andere Header oder Doctypes werden nicht helfen... hier mal meine CSS zum zeigen, wwas so unterschiedlich ist bei ie und firefox:
CSS für Firfox
body {
background-color: #d7d7cf;
padding:0px;
margin:0px;
font-family: Verdana, Geneva, sans-serif;
color: #898A74;
}
#container {
background-image: url(../images/sonstige/bk_gradient1.png);
position:absolute;
left:50%;
width:951px;
margin-left:-475px;
background-color: #E3E3DE;
padding-bottom:40px;
}
#head{
padding:0px;
margin:0px;
height:394px;
}
#header {
width: 951px;
height: 398px;
}
/* Bilder CSS */
#home {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 595px;
}
#ausbildung {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 628.5px;
}
#beziehung {
position:absolute;
width: 33.5px;
margin-top: -301px;
margin-left: 662px;
}
#freizeit {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 695.5px;
}
#lebenswelt {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 729px;
}
#wohlfuehlen {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 762.5px;
}
#rechte {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 796px;
}
#umwelt {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 828.5px;
}
#multimedia {
position:absolute;
width: 33px;
margin-top: -301px;
margin-left: 862px;
}
#beratung {
position:absolute;
width: 34px;
margin-top: -282.5px;
margin-left: 898px;
}
#beratung_aktiv {
position:absolute;
width: 34px;
margin-top: -299px;
margin-left: 898px;
}
#kanton {
position:absolute;
top:5px;
left: 715px;
height: 10px;
width: 170px;
}
#login {
position:absolute;
top:25px;
right:0px;
height: 95px;
width: 375px;
}
#login_box {
float: left;
}
#suche {
position:absolute;
top:50px;
right:20px;
}
#headmenu {
position: absolute;
top: 95px;
right: 0px;
width: 360px;
background: #000060;
}
#topmenu {
padding:0px;
margin: 0px;
}
#content_left{
background-image: url(../images/sonstige/bk_gradient1.png);
margin-top: 30px;
width: 360px;
float:left;
}
#content_right{3
background-image: url(../images/sonstige/bk_gradient1.png);
margin-top: 30px;
width: 360px;
float:left;
}
/* wenns nur eine Spalte in der Mitte hat */
#content_middle{
background-image: url(../images/sonstige/bk_gradient2.png);
margin-top: 30px;
width: 720px;
float:left;
margin-right: 5px;
}
#content_border{
margin-top: 30px;
float:left;
width: 225px;
background-color: #DFDFD9;
}
#content_left .box_left{
padding-left: 25px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
background-image: url(../images/sonstige/bk_gradient1.png);
background-repeat:no-repeat;
}
#content_middle .box_left{
padding-left: 25px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
background-image: url(../images/sonstige/bk_gradient2.png);
background-repeat:no-repeat;
}
.box_left div.csc-default{
}
#content_right .box_right{
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
background-image: url(../images/sonstige/bk_gradient1.png);
background-repeat:no-repeat;
}
#content_middle .box_right {
padding-left: 25px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
background-image: url(../images/sonstige/bk_gradient2.png);
background-repeat:no-repeat;
}
.box_border {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: dashed;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
padding-left: 5px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
/* normaler Text - Grösse */
.bodytext, #content_middle li {
font-size: 0.8em;
}
/* für frage stellen form */
#content_middle .bodytext textarea {
background-image: url(../images/sonstige/bk_gradient3.png);
background-repeat: no-repeat;
width: 100%;
border: 1px solid #898a74;
font-family: Verdana, Geneva, sans-serif;
background-color: #d5d5cd;
}
.bodytext label {
float:left;
width: 100px;
font-weight: bold;
clear: both;
}
.tx-iktschauquestions-pi1 .bodytext span {
margin-left: 100px;
display: block;
}
.tx-iktschauquestions-pi1 form .bodytext span {
margin-left: 0px;
display:inline;
}
#footer {
float: none;
height: 30px;
background-color: #DDDCD5;
position: absolute;
bottom:0px;
width:100%;
color: #898A74;
text-align:center;
padding-top: 10px;
}
#footer a{
color: #898A74;
font-size: 0.8em;
font-weight:bold;
background-color:#DDDCD5;
text-decoration:none;
}
div.csc-textpic-left img{
margin-top:10px;
}
/* Extensions */
/* Themenblätter / Downloads */
.tx-abdownloads-pi1 {
margin-top:15px;
}
/* Themenblätter / Downloads */
#content_border .tx_abdownloads_catalogView_categoryPath {
display: none;
}
/* Links */
.tx-ablinklist-pi1 {
padding-bottom:25px;
}
.tx_ablinklist_listView_linkAddNew {
margin-top: 5px;
float: right;
font-size: 12px;
text-decoration: none;
border: #000000 thin solid;
}
/* Adressen */
.tx-ttaddress-pi1 {
margin-top: 15px;
font-size: 0.8em;
}
/* Adressen - Name */
.fn {
font-weight: bold;
width: 200px;
}
/* Adressen - Layout */
ul.vcard {
list-style-type: none;
padding: 0;
margin: 0;
}
li.vcard_inner {
float: left;
width: 30px;
font-weight: bold;
margin: 0 20px 10px 0;
}
li.vcard_outer {
float: left;
width: 200px;
padding: 0;
margin: 0 0 10px 0;
}
li.clr {
display: inline;
margin: 0;
padding: 0;
width: 1px;
}
br.clr {
clear: left;
width: 1px;
font-size:1px;
margin: 0;
padding: 0;
overflow:hidden;
}
/* Spalten */
div.tx-rscontentcolumn-pi1 div.rightcol {
padding:1%;
width:47%;
white-space:normal;
float:left;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
border-top-style: none;
border-bottom-style: none;
border-left-style: solid;
margin-bottom: 10px;
}
/* Login */
#login div.tx-felogin-pi1, #suche div.tx-macinasearchbox-pi1 {
background: none;
font-family: Verdana, Geneva, sans-serif;
color: #898A74;
font-size: 10px;;
text-align: right;
}
#login div.tx-felogin-pi1 login_input {
}
.loginlink {
text-decoration: none;
color: #898A74;
margin-right: 20px;
}
#login div.tx-felogin-pi1 div.login_button input {
float: left;
font-size: 12px;
background-color: #FFF;
color: #898a74;
border: 1px solid #898a74;
margin-top: 18px;
margin-left: 4px;
height: 20px;
}
#login div.tx-felogin-pi1 input, #suche div.tx-macinasearchbox-pi1 #searchform input{
font-size: 12px;
background-color: #FFF;
color: #898a74;
border: 1px solid #898a74;
}
a.link-login {
font-family: Verdana, Geneva, sans-serif;
color: #898A74;
font-size: 0.8em;
}
.logout-text {
width: 350px;
}
/* Ende Extensions */
#schwarzer_balken {
width: 951px;
height: 24px;
position: relative;
float: left;
margin-bottom: -24px;
}
CSS für IE8
body {
background-color: #d7d7cf;
padding:0px;
margin:0px;
font-family: Verdana, Geneva, sans-serif;
color: #898A74;
}
#container {
background-image: url(fileadmin/images/Grafiken_Tschau/Sonstige/bk_gradient1.jpg);
position:absolute;
left:50%;
width:951px;
margin-left:-475px;
background-color: #E3E3DE;
padding-bottom:40px;
}
#head {
padding:0px;
margin:0px;
height:394px;
}
#header {
position:absolute;
width: 951px;
height: 398px;
z-index: 10;
}
/* Bilder CSS */
#home {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 595px;
z-index: 11;
}
#ausbildung {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 628.5px;
z-index: 11;
}
#beziehung {
position:absolute;
width: 33.5px;
margin-top: 100px;
margin-left: 662px;
z-index: 11;
}
#freizeit {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 695.5px;
z-index: 11;
}
#lebenswelt {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 729px;
z-index: 11;
}
#wohlfuehlen {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 762.5px;
z-index: 11;
}
#rechte {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 796px;
z-index: 11;
}
#umwelt {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 828.5px;
z-index: 11;
}
#multimedia {
position:absolute;
width: 33px;
margin-top: 100px;
margin-left: 862px;
z-index: 11;
}
#beratung {
position:absolute;
width: 34px;
margin-top: 117px;
margin-left: 898px;
z-index: 11;
}
#beratung_aktiv {
position:absolute;
width: 34px;
margin-top: 102px;
margin-left: 898px;
z-index: 11
}
#kanton {
position:absolute;
top:5px;
left: 715px;
height: 10px;
width: 170px;
z-index: 11;
}
#login {
position:absolute;
top:0px;
right:0px;
height: 95px;
width: 375px;
margin-top: 30px;
z-index: 11;
}
#login_box {
float: left;
}
#suche {
position:absolute;
top:50px;
right:20px;
}
#headmenu {
position: absolute;
top: 95px;
right: 0px;
width: 360px;
background: #000060;
}
#topmenu {
padding:0px;
margin: 0px;
background-image: url(fileadmin/images/Grafiken_Tschau/Sonstige/schwarzer_balken.png);
}
#content_left{
background-image: url(fileadmin/images/Grafiken_Tschau/Sonstige/bk_gradient1.jpg);
margin-top: 30px;
width: 360px;
float:left;
}
#content_right{3
background-image: url(fileadmin/images/Grafiken_Tschau/Sonstige/bk_gradient1.jpg);
margin-top: 30px;
width: 360px;
float:left;
}
/* wenns nur eine Spalte in der Mitte hat */
#content_middle{
background-image: url(fileadmin/images/Grafiken_Tschau/Sonstige/bk_gradient2.jpg);
margin-top: 30px;
width: 720px;
float:left;
margin-right: 5px;
}
#content_border{
margin-top: 30px;
float:left;
width: 225px;
background-color: #DFDFD9;
}
#content_left .box_left{
padding-left: 25px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
background-image: url(images/Grafiken_Tschau/Sonstige/bk_gradient1.jpg);
background-repeat: no-repeat;
}
#content_middle .box_left{
padding-left: 25px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
background-image: url(images/Grafiken_Tschau/Sonstige/bk_gradient2.jpg);
background-repeat: no-repeat;
}
.box_left div.csc-default{
}
#content_right .box_right{
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
background-image: url(images/Grafiken_Tschau/Sonstige/bk_gradient1.jpg);
background-repeat: no-repeat;
}
#content_middle .box_right {
padding-left: 25px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: none;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
background-image: url(images/Grafiken_Tschau/Sonstige/bk_gradient2.jpg);
background-repeat: no-repeat;
}
.box_border {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: dashed;
border-bottom-style: dashed;
border-left-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
padding-left: 5px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
/* normaler Text - Grösse */
.bodytext, #content_middle li {
font-size: 0.8em;
}
/* für frage stellen form */
#content_middle .bodytext textarea {
background-image: url(images/Grafiken_Tschau/Sonstige/bk_gradient3.jpg);
background-repeat: no-repeat;
width: 100%;
border: 1px solid #898a74;
font-family: Verdana, Geneva, sans-serif;
background-color: #d5d5cd;
}
.bodytext label {
float:left;
width: 100px;
font-weight: bold;
clear: both;
}
.tx-iktschauquestions-pi1 .bodytext span {
margin-left: 100px;
display: block;
}
.tx-iktschauquestions-pi1 form .bodytext span {
margin-left: 0px;
display:inline;
}
#footer {
float: none;
height: 30px;
background-color: #DDDCD5;
position: absolute;
bottom:0px;
width:100%;
color: #898A74;
text-align:center;
padding-top: 10px;
}
#footer a{
color: #898A74;
font-size: 0.8em;
font-weight:bold;
background-color:#DDDCD5;
text-decoration:none;
}
div.csc-textpic-left img{
margin-top:10px;
}
/* Extensions */
/* Themenblätter / Downloads */
.tx-abdownloads-pi1 {
margin-top:15px;
}
/* Themenblätter / Downloads */
#content_border .tx_abdownloads_catalogView_categoryPath {
display: none;
}
/* Links */
.tx-ablinklist-pi1 {
padding-bottom:25px;
}
.tx_ablinklist_listView_linkAddNew {
margin-top: 5px;
float: right;
font-size: 12px;
text-decoration: none;
border: #000000 thin solid;
}
/* Adressen */
.tx-ttaddress-pi1 {
margin-top: 15px;
font-size: 0.8em;
}
/* Adressen - Name */
.fn {
font-weight: bold;
width: 200px;
}
/* Adressen - Layout */
ul.vcard {
list-style-type: none;
padding: 0;
margin: 0;
}
li.vcard_inner {
float: left;
width: 30px;
font-weight: bold;
margin: 0 20px 10px 0;
}
li.vcard_outer {
float: left;
width: 200px;
padding: 0;
margin: 0 0 10px 0;
}
li.clr {
display: inline;
margin: 0;
padding: 0;
width: 1px;
}
br.clr {
clear: left;
width: 1px;
font-size:1px;
margin: 0;
padding: 0;
overflow:hidden;
}
/* Spalten */
div.tx-rscontentcolumn-pi1 div.rightcol {
padding:1%;
width:47%;
white-space:normal;
float:left;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: none;
border-top-color: #FFF;
border-right-color: #FFF;
border-bottom-color: #FFF;
border-left-color: #FFF;
border-top-style: none;
border-bottom-style: none;
border-left-style: solid;
margin-bottom: 10px;
}
/* Login */
#login div.tx-felogin-pi1, #suche div.tx-macinasearchbox-pi1 {
background: none;
font-family: Verdana, Geneva, sans-serif;
color: #898A74;
font-size: 10px;;
text-align: right;
}
#login div.tx-felogin-pi1 login_input {
}
.loginlink {
text-decoration: none;
color: #898A74;
margin-right: 20px;
}
#login div.tx-felogin-pi1 div.login_button input {
float: left;
font-size: 12px;
background-color: #FFF;
color: #898a74;
border: 1px solid #898a74;
margin-top: 18px;
margin-left: 4px;
height: 20px;
}
#login div.tx-felogin-pi1 input, #suche div.tx-macinasearchbox-pi1 #searchform input{
font-size: 12px;
background-color: #FFF;
color: #898a74;
border: 1px solid #898a74;
}
a.link-login {
font-family: Verdana, Geneva, sans-serif;
color: #898A74;
font-size: 0.8em;
}
.logout-text {
width: 350px;
}
/* Ende Extensions */
#schwarzer_balken {
width: 951px;
height: 24px;
position: relative;
float: left;
margin-bottom: -24px;
}
Zitat Frage3: Ich habe mich mit der Option niceText befasst, und denke dass sie abhilfe schaffen kann, allerdings wird einfach kein Text mehr angezeigt, sobald ich sie aktiviere. Woran kann das liegen?
Hm.. dieses Problem hatte ich auch mal.. ich habe
niceText = 0
gesetzt versuchs mal so! Kannst dich ja wenns nicht geht wieder melden.