Jump to content
php.lv forumi

background-image


Robis

Recommended Posts

Sveiki!

Kapec man uz Netscape un Mozilla gljuko shadas lietas, kuras uz IE rada pec manis iecereta:

 

.bg_top_1 {

background-image: url(../img/bgtop/bgtop_1.jpg);

background-attachment: fixed;

background-repeat: no-repeat;

margin: 0px;

padding: 0px;

width: 138px;

height: 120px;

}

 

.bg_top_2 {

background-image: url(../img/bgtop/bgtop_2.jpg);

background-attachment: fixed;

background-repeat: no-repeat;

height: 120px;

width: 130px;

margin: 0px;

padding: 0px;

}

 

Tos lieku attiecigas tabulas shunas, uz IE viss normali, bet uz Mozilla parada bg_top_1 ka nakas, pec tam bg_top_2 un nakoshos bg_top nerada! Ja uzliek repeat (kas isteniba nevaretu atkaroties) vinjsh tur tas bildes parslanjo un kaut ka gljukaini taisa! izmeri ir pareizi!

Link to comment
Share on other sites

IE un Mozilla atskiriigi atspoguljo atseviskju (DIV) elementu atstarpes un borderus.

:(

 

Un vispaar cik saprotu ka gribi izmantot katrai tabulas shuunai savu bacgraundu?

ja taa kapeec neraksti vienkaarshaak?

 

<td width="50" height="50" background="fictures/1x.jpg">

</td>

 

Ljoti korekti straadaa :)

Link to comment
Share on other sites

×
×
  • Create New...