Ver Mensaje Individual
  #11 (permalink)  
Antiguo 04/05/2007, 16:12
Avatar de AlZuwaga
AlZuwaga
Colaborador
 
Fecha de Ingreso: febrero-2001
Ubicación: 34.517 S, 58.500 O
Mensajes: 14.550
Antigüedad: 23 años, 2 meses
Puntos: 535
Re: insertar imagen por medio de un css?

Cita:
Iniciado por erick_arcini Ver Mensaje
Disculpen las molestias que ocasione pero ya edite el código, disculpen apenas me estoy metiendo poco a poco, aunque el orden de los factores no altera el producto no, o si?
Ahorrate las disculpas que no es necesario

Sobre el si orden de los factores no altera el producto, en realidad no, no lo altera. Podés hacer click en el div y el enlace se efectúa... pero no es correcto.

Si intentaras validar una página con ese código, te daría un error semejante a este:


Cita:
This page is not Valid XHTML 1.0 Transitional!

Below are the results of checking this document for XML well-formedness and validity.

1. Error Line ### column ###: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

Código:
      <a href="http://forosdelweb.com"><div>aquí dale con todo</div></a></a>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>" (agrego yo "<div>")) inside an inline element (such as "<a>", "<span>", or "<font>").
Te recomiendo esta lectura (que no sé si será la mejor, pero no me parece mala)

Saludos
__________________
...___...