WebSite X5Help Center

 
Alessandro W.
Alessandro W.
User

How to delete min-height from table properties?  en

Autore: Alessandro W.
Visite 1332, Followers 2, Condiviso 0  

Sometimes, under a table appears a wide empty area. Analyzing the page code I found the table property #imCellStyle_11 {min-height: 1885px;} which, comparing the value with the length of the web page, could be the cause.

Does anybody knows how to delete this information from the table properties?

page example: www.alpenlounge.eu/konzerte.html

Postato il
8 RISPOSTE - 2 UTILI - 1 CORRETTO
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... post (IT-EN) laughing 

... Se non si risolve con il programma, provare ad incollare nel:
... If not resolved by the program, try to paste in:

>> Step 3 - Map > The Page Properties window > Options in the Expert section  | Custom Code: ... ►Before closing the HEAD tag:

<style>*{min-height: 0px !important; height:auto !important}</style>

.

ciao

 regards

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Alessandro W.
Alessandro W.
User
Autore

It works. - Holy code! Thank you, KolAsim. : )

Leggi di più
Postato il da Alessandro W.
Alessandro W.
Alessandro W.
User
Autore

But it kills the multimedia object on the page ...

Leggi di più
Postato il da Alessandro W.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... (IT - provare a sostituire con questo codice:) ...Try to replace with this code:

<style>*:not(#imCell_16){min-height: 0px !important; height:auto !important}</style>

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Alessandro W.
Alessandro W.
User
Autore

Perfect! Grazie, KolAsim. : )

Leggi di più
Postato il da Alessandro W.
Alessandro W.
Alessandro W.
User
Autore

KolAsim, one last question, please. The initial code killed also #imCell_19. What should your code look like in order to save cell 16 + 19?

This way?

<style>*:not(#imCell_16;#imCell_19){min-height: 0px !important; height:auto !important}</style>

Leggi di più
Postato il da Alessandro W.
Alessandro W.
Alessandro W.
User
Autore

Try & error result. Auto-response: yes. : )

Reassuming: set min-height = 0 and list up all cells which should be exclude from min-height.

Thank you again for the code snippet, KolAsim.

Leggi di più
Postato il da Alessandro W.