Jump to content
php.lv forumi

Css


capsx
 Share

Recommended Posts

kaads var pateikt kapeec txt ieksh div nenovietojas vertikaali pa vidu ???

 

#number1 {

width: 24px;

height: 10px;

text-align: center;

font-family: "Arial";

font-size: 7px;

border: 1px solid #000000;

position:absolute;

vertical-align: middle;

}

Link to comment
Share on other sites

kaads var pateikt kapeec txt ieksh div nenovietojas vertikaali pa vidu ???

 

#number1 {

width: 24px;

height: 10px;

text-align: center;

font-family: "Arial";

font-size: 7px;

border: 1px solid #000000;

position:absolute;

vertical-align: middle;

}

 

umm .. gadiijumaa nav taa, ka vertical-align taisa nevis izliidzinaashanu block level elementaa, bet gan izliidzina tavu nodefineeto objektu attieciibaa pret paareejiem inline objektiem, piemeeram, bildeem, etc.

 

teiksim attachaa ir piemeerinsh ar bildi + vertical-align:middle un tekstu

phplv1.gif

Link to comment
Share on other sites

umm .. gadiijumaa nav taa, ka vertical-align taisa nevis izliidzinaashanu block level elementaa, bet gan izliidzina tavu nodefineeto objektu attieciibaa pret paareejiem inline objektiem, piemeeram, bildeem, etc.

 

teiksim attachaa ir piemeerinsh ar bildi + vertical-align:middle un  tekstu

phplv1.gif

tev esot pilniiga taisniiba

 

bet kaa vienmeer gudrais(s|x) IE var sho to ko citi nevar

proti:

 

position:absolute;filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3

)

 

 

:D

Link to comment
Share on other sites

  • 4 weeks later...
<code><font color="#000000">
vertical-align: middle;</font>
</code>

HE :) shitas te parasti izmantojas tabulaam textu un bilzhu novietojuma noraadiishanai attieciigaja shuunaa! Ieksh <div> tegas vinju diezgan gruuti izmantot...

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...
 Share

×
×
  • Create New...