Páginas (3):    1 2 3
Cluster   5 Feb, 2011, 10:01 am
#21
de hecho es posible hacer eso con un atributito ^^

<img src="images/flags/{$post['fid1']}.gif" border="0" alt="{$post['fid1']}" />
PHP

agregale un class

<img class="alinearvertical" src="images/flags/{$post['fid1']}.gif" border="0" alt="{$post['fid1']}" />
PHP

y en tu CSS agregas esto

.alinearvertical {
	vertical-align:middle;
}
PHP

Smile
Darkin   5 Feb, 2011, 10:05 am
#22
(5 Feb, 2011, 10:01 am)Solstice escribió: de hecho es posible hacer eso con un atributito ^^

<img src="images/flags/{$post['fid1']}.gif" border="0" alt="{$post['fid1']}" />
PHP

agregale un class

<img class="alinearvertical" src="images/flags/{$post['fid1']}.gif" border="0" alt="{$post['fid1']}" />
PHP

y en tu CSS agregas esto

.alinearvertical {
	vertical-align:middle;
}
PHP

Exelente!!!! Y pensar que era algo asi de simple, estube banda probando intentos!!

Gracias!, Pueden cerrar!


Páginas (3):    1 2 3
  
Powered By MyBB, © 2002-2025 MyBB Group.
Made with by Curves UI.