formatting - vertical alignment for FORM INPUT FIELDS in safari and chrome -


I have a selection box with height: 60px When I click on an option for the user, I would like to show on the lower bottom of the selected box ... though Safari and Chrome automatically aligns text in the middle.

I have tried increasing line-height, padding-top, margin-top ... but they do not work for Safari / Chrome

Please help, if Safari / Please check this kind of style in "impossible" for Chrome, please also thank you in advance! Unfortunately you can not select elements generated by safari and chrome.

Unfortunately you can not select elements generated by safari and chrome. What you're working with is the Shadow DOM Wrought:

The page that originally creates the browser elements that is being rendered to work as the selection box, but these elements are CSS Can not be styled by.

I would recommend using a device as chosen: If you are looking at some heavy styling of the selected box It uses Javascript, allows to move elements at the top of the selection box, changing its functionality and styling it with CSS.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -