WebSite X5Help Center

 
Juergen S.
Juergen S.
User

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

Autor: Juergen S.
Visitado 1177, Followers 1, Compartido 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?

Publicado en
5 RESPUESTAS - 2 úTIL
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!

Leer más
Publicado en de Claudio D.
Juergen S.
Juergen S.
User
Autor

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|

Leer más
Publicado en 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!

Leer más
Publicado en de Claudio D.
Juergen S.
Juergen S.
User
Autor

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

8:o/

Leer más
Publicado en de Juergen S.
Juergen S.
Juergen S.
User
Autor

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

works well. Thank you!

8:o)=

Leer más
Publicado en de Juergen S.