This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17094|Reply: 0

[Bootstrap] Bootstrap modal box obscures the datepicker time control

[Copy link]
Posted on 5/25/2016 2:04:00 PM | | | |

As shown in the picture above, the time control I popped up is completely below, that is, it is obscured by the modal window,

Alas, I don't understand CSS, how can I do it???

This is because the modal dialog has a high z-index.
Workaround: Specify a z-index larger than the modal dialog for the date popup box in the stylesheet.


Seeing someone say this!!!! I seem to understand something, change the value of the z-index of css, make it larger,

So, I found the css style sheet, looked up z-inde, fortunately, there was only one item, so I modified the original 1000 to 9999, and it didn't work!!!

Suddenly, I thought of the priority issue, the line style is larger than the page definition, and then the reference style,

Then, I defined the CSS code to the page



Finally, the perfect solution !!!!







Previous:The Bootstrap modal dialog reloads every time
Next:C# Obtain the unique identifier of the computer hardware device
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com