WebSite X5Help Center

 
Vincenzo Errico
Vincenzo Errico
User

Oggetto Html vuoto  it

Author: Vincenzo Errico
Visited 1461, Followers 2, Shared 0  

Salve,

è cosa normale o anomala che inserendo degli oggetti HTML VUOTI impostando un'altezza fissa (tipo 100px per spaziare dalll'oggetto sottostante) reagisce solo in modalità desktop? Cioè ai breakpoint inferiori, i 100px dell'oggetto vengono annullati.

Grazie.

Posted on the
5 ANSWERS - 1 CORRECT
Mirko Boschetti
Mirko Boschetti
Moderator

Vuoti ?

se non metti niente è come non metterli...o ho capito male io???

piuttosto metti il margine esterno a 100px all'oggetto sottostante....wink

Read more
Posted on the from Mirko Boschetti
Vincenzo Errico
Vincenzo Errico
User
Author

si vuoti, ma se imposti nell'oggetto 100px in altezza vengono rispettati in modalità desktop mentre in responsive, no!

Read more
Posted on the from Vincenzo Errico
Claudio D.
Claudio D.
Moderator
Best User of the month ITBest User of the month PT

@Vincenzo , ho provato ora ... e se non ho sbagliato direi che anche in responsive funziona ...

...tranne all'ultimo breakpoint , dove effettivamente fa quello che dici tu...

però , a mio parere dipende dal fatto che non hai messo nulla dentro l'oggetto ...

fai così , metti dentro all'oggetto HTML  "almeno" un "commento" ...

<!--commento-->

https://www.w3schools.com/tags/tag_comment.asp

Read more
Posted on the from Claudio D.
Mirko Boschetti
Mirko Boschetti
Moderator

giusto come dice Claudio, ho provato e funzia con il suo commento...wink

Read more
Posted on the from Mirko Boschetti
Vincenzo Errico
Vincenzo Errico
User
Author

Perfetto, grazie! wink

Read more
Posted on the from Vincenzo Errico