Regresar a la página
Resultados 1 al 1 de 1

Tema: Google Chrome and the White-space Property with text and an image.

  1. #1
    Recien Llegado! Merodeador
    Fecha de Ingreso
    27 abr, 19
    Poder de Reputación

    Google Chrome and the White-space Property with text and an image.

    Hello everyone,,
    let's see if anyone knows anything about the matter. I found a hack in Google Chrome (it does not do IE, FIREFOX) with the Property property white-space and the pre value.

    With pre: Excess blank spaces are not deleted and only the line breaks included in the original text are displayed. This behavior can cause text contents to be exited from their container element.

    If we include the following code that I put below, we can see that the image does not leave its element as it would have been expected and it is lodged in the following line . This happens in Chrome, in the other browsers if it comes out as expected.

    Does anyone know why this is happening in Chrome because it is due?

    <! doctype html>
    <meta charset = "iso-8859-1">
    <title> Untitled Document </ title>
    <style type = "text / css">
    div {
    width: 150px;
    border: 1px solid;
    </ style>
    </ head>

    in a
    place where I do not want to remember a ........ <img src = " trailer.png "width =" 27 "height =" 27 "alt =" "/> </ div>
    </ body>
    </ html>
    Última edición por Lincon; 16/05/2019 a las 18:08

Temas Similares

  1. Respuestas: 3
    Último Mensaje: 30/06/2018, 15:54
  2. Google Chrome
    Por ogarrio en el foro Foro General
    Respuestas: 1
    Último Mensaje: 02/03/2010, 12:31
  3. Google Chrome
    Por metalmecanicas en el foro Foro General
    Respuestas: 2
    Último Mensaje: 13/02/2010, 02:00

Permisos de Publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes