WebSite X5Help Center

 
Juergen S.
Juergen S.
User

In a form the input type file height is much too flat by inline style  en

Autore: Juergen S.
Visite 1266, Followers 1, Condiviso 0  

As you can see in the picture:

In my form the height of an input type = file is much too flat.

The other kinds of inputs work fine.

18px isn't enough, and I can't change it by css, because it's made by inline-style.

it's not a matter of the browser.

What can I do?

Postato il
5 RISPOSTE - 2 UTILI
Incomedia
Claudio D.
Incomedia

Hello Juergen,

The hegit of this field is automatically generated by the browser. The inline style you see is added by the browser. If you check it as example under firefox you see there's no inline css. Every browser renders this field differently since it is used the browser internal function to generate the upload function.

Many thanks!

Leggi di più
Postato il da Claudio D.
Juergen S.
Juergen S.
User
Autore

It seems you're right, but that problem doesn't 5to appear on every page I have seen in MS edge or chrome. So where does it derive from, and - what is even more important - what can I do about it?


8:o|

Leggi di più
Postato il da Juergen S.
Incomedia
Claudio D.
Incomedia

Hello Juergen,

On every different browser this field appears differently. Unfortunately it cannot be done a lot since it is all done internally from the browser itself. You can try to use custom css code like adding !important to see if this helps.

Many thanks!

Leggi di più
Postato il da Claudio D.
Juergen S.
Juergen S.
User
Autore

Thank you. I'll try that (if you have an idea how to make the software load my project).

8:o/

Leggi di più
Postato il da Juergen S.
Juergen S.
Juergen S.
User
Autore

input#imObjectForm_3_4 {
height: 25px !important;
font-size: 90% !important;
}

works well. Thank you!

8:o)=

Leggi di più
Postato il da Juergen S.