WebSite X5Help Center

 
Juergen S.
Juergen S.
User

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

Auteur : Juergen S.
Visité 1175, Followers 1, Partagé 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?

Posté le
5 RéPONSES - 2 UTILE
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!

Lire plus
Posté le de Claudio D.
Juergen S.
Juergen S.
User
Auteur

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|

Lire plus
Posté le de 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!

Lire plus
Posté le de Claudio D.
Juergen S.
Juergen S.
User
Auteur

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

8:o/

Lire plus
Posté le de Juergen S.
Juergen S.
Juergen S.
User
Auteur

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

works well. Thank you!

8:o)=

Lire plus
Posté le de Juergen S.