为什么随时将jQuery插件的关键元素与背景/背景混合在一起? [英] Why are the key elements of the anytime jQuery plugin blending in with the background/invisiblized?

查看:92
本文介绍了为什么随时将jQuery插件的关键元素与背景/背景混合在一起?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随时jQuery插件具有其空白"的关键元素(当前月份,日期,年,小时等),如下所示.为什么但更重要的是,如何将一些淀粉重新添加到这些关键元素中?

The anytime jQuery plugin has its key elements (current month, day, year, hour, etc.) "blanked out" as shown below. Why, but more importantly, how to put some starch back into those key elements?

顺便说一句,这是在jsfiddle中,所以我没有幕后花哨的CSS;我添加的唯一CSS非常少:

BTW, this is in jsfiddle, so I don't have any "fancy" CSS working behind the scenes; the only CSS I've added is extremely minimal, to wit:

labelText {
    font-family: verdana;
    white-space: nowrap;
}

在Visual Studio/浏览器中仍在黄色背景上显示白色文本:

Still showing white text on a yellow background in Visual Studio/browserland:

推荐答案

这与您正在使用的jQuery UI主题中的样式或干扰样式的jsFiddle样式有关.的确,与将基于Web的开发工具混合在一起时发生的所有奇怪的交互相比,在本地计算机上播放文件要好得多!

This has to be a problem with the styles in the jQuery UI theme that you are using, or with jsFiddle styles interfering with the styles. Really, you're much better off playing with files on your local computer than dealing with all of the weird interactions that take place when you bring a web-based development tool into the mix!

这篇关于为什么随时将jQuery插件的关键元素与背景/背景混合在一起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆