Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 26.09.2003, 12:09
seven21 seven21 ist offline
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 26.09.2003
Beiträge: 1
seven21 befindet sich auf einem aufstrebenden Ast
Standard background_color wird im mozilla nicht vererbt

ich habe ein problem mit der darstellung der background-color im mozilla.
wenn ich dem div for_subnavi_info1 float:left; zuweise stellt mozilla die background-color nicht mehr dar. inherit auf die childelemente bringt auch nicht die gewünschte wirkung. hat jemand eine lösung? was mache ich falsch?

Code:
body {
	margin: 0px;
	padding: 0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;	
	font-weight:normal;
	color:#890258;
	background-color:#576E44;
	text-decoration:none;
}



td.for_content {
	vertical-align:top;
	padding:0px;
	width:612px;
}

.for_subnavi_outer{
  margin: 0px 5px 2px 5px;	
	width:602px;
}
.for_subnavi_outer a:hover{
  text-decoration:underline;
}
.for_subnavi_info_outer {
  padding: 0px 10px 0px 8px;
}
.for_subnavi_info1 {
	float:left;
	padding-top:7px;
	padding-bottom:7px;
	text-align: left;
	background-color:inherit;
}
.for_subnavi_info2 {
  padding-top:4px;
	padding-bottom:4px;
  float:right;
	background-color:inherit;
}
.for_subnavi_control {
  float:left;
	text-align: left;
	margin-left:5px;
	padding:3px;
}
.for_subnavi_control img {	
  vertical-align:middle;
}

.for_11px {
	font-size: 11px;
	text-decoration:none;
}
.for_12px {
	font-size: 12px;
	text-decoration:none;
}
.for_bold {
  font-weight:bold;
}
.for_center {
  text-align:center;
}
.for_top {
  vertical-align:top;
}



.for_color_013300{
  color: #013300;
}
.for_color_ffffff{
  color: #ffffff;
}
.for_color_CEFFCD{
  color: #CEFFCD;
}

.for_bgrcolor_9CB686{
  background-color: #9CB686;
}
.for_bgrcolor_7F9668{
   background-color: #7F9668;
}
.for_bgrcolor_8EA879{
   background-color: #8EA879;
}

<table width="772" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td>[img]img/navi_links.jpg[/img]</td>
     <td class="for_content for_bgrcolor_9CB686">
Hier ist das Problem die background-color 9CB686 wird vom mozilla nicht dargestellt. hat wohl probleme mit dem vererben der farbe. komisch ist nur das ohne float die farbe vererbt wird
Code:
         <div class="for_subnavi_outer for_bgrcolor_8EA879">
              <div class="for_subnavi_info_outer">
	  <div class="for_subnavi_info1 for_12px for_bold for_color_ffffff">
	 Test > test2
	</div>
	<div class="for_subnavi_info2 for_12px for_color_CEFFCD">
	  <div class="for_subnavi_control for_bgrcolor_9CB686">
	  [img]img/blatt.gif[/img]Neues Thema
	</div>
	<div class="for_subnavi_control for_bgrcolor_9CB686">& Zurück
	</div>
	<div class="for_subnavi_control for_bgrcolor_9CB686">
	Index
	</div>
	<div class="for_subnavi_control for_bgrcolor_9CB686">Vor &</div>
							</div>
       </div>
   </div>
						
						
						
        </td>
    </tr>
</table>
Mit Zitat antworten
Sponsored Links