...

View Full Version : Trying to aling >h2> and <p>



tirengarfio
06-08-2010, 11:46 AM
Hi,

i have this page (http://www.tirengarfio.com/rs2/web/miembros/show/id/2).

login: maria@mail.com
password: m


As can see the name and "Editar mi perfil" are aligned in FF but not in IE7.

What should i do?

Regards

Javi

abduraooft
06-08-2010, 11:50 AM
I don't see any difference in FF & IE

tirengarfio
06-08-2010, 12:11 PM
Sorry, check it again.

abduraooft
06-08-2010, 12:14 PM
<div id="datos_personales">

<h2 id="nombre_apellidos">
Maria Galindo Alvarado </h2>

<p id="editar_o_mensaje">

<a href="/rs2/web/miembros/edit/id/2" id="enlace_editar_perfil">Editar mi perfil</a>
</p>
You need to put all floated elements before their non-floated siblings, in markup order.
Try

<div id="datos_personales">
<p id="editar_o_mensaje">

<a href="/rs2/web/miembros/edit/id/2" id="enlace_editar_perfil">Editar mi perfil</a>
</p>
<h2 id="nombre_apellidos">
Maria Galindo Alvarado
</h2>
................



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum