如何在twitter boostrap导航栏中使用背景图片?(how to use background image in twitter boostrap navbar?)

我曾经经历过自定义twitter bootstrap导航栏颜色成功..现在我想使用一个图像作为导航栏背景,所以我可以玩更多的导航栏..

但是,当我把CSS“background:url(/img/navbar-bg.png)repeat-x;” 在navbar内..它不工作,任何人都知道为什么?


I have experienced to customize the twitter bootstrap navbar color successfully.. Now I want to use an image as the navbar background, so I could play more with the navbar..

But when I put the css "background: url(/img/navbar-bg.png) repeat-x;" in the navbar-inner.. it doesnt work, anyone know why?


原文:https://stackoverflow.com/questions/11404275
2023-09-20 18:09

满意答案

它在General - > Editors - > Text Editors选择右侧列表中的Hyperlink ,取消选中System Default并选择所需的颜色。


It in the General -> Editors -> Text Editors choose Hyperlink in the list on the right and uncheck System Default and select desired color.

相关问答

更多

PHP Eclipse语法颜色改变(PHP Eclipse syntax color change)

我正在使用Eclipse IDE for PHP Developers版本1.2.x,我的路径如下所示, Preferences > PHP > Editor > Syntax Coloring > Variable 尝试下载PHP开发工具(PDT)而不是PHPEclipse I am using Eclipse IDE for PHP Developers version 1.2.x and my path is as follows, Preferences > PHP > Editor >...

如何在Eclipse的侧栏中更改突出显示的颜色?(How to change highlighted occurrences color in Eclipse's sidebar?)

条中的颜色与编辑器中文本突出显示的颜色相同。 它是通过去 首选项>常规>编辑器>文本编辑器>注释 并更改“出现次数和写入次数”颜色。 The color in the bar is the same as the color the text is highlighted with in the editor. It is set by going to Window > Preferences > General > Editors > Text Editors > Annotations an...

Eclipse:如何更改当前所选方法/表达式的突出显示颜色?(Eclipse: How do you change the highlight color of the currently selected method/expression?)

在“首选项”对话框中运行后,以下是可以更改“出现次数”突出显示颜色的位置: General -> Editors -> Text Editors -> Annotations 从注释类型列表中查找出现事件。 然后,确保选择了Text as highlighted ,然后选择所需的颜色。 而且,一张照片价值千言万语 首选项对话框http://coobird.net/img/eclipse-occurences-1.png 橙色突出显示出现的图像。 http://coobird.net/img/ecl...

Eclipse颜色不会改变(Eclipse color does not change)

要更改背景颜色: 打开Windows>首选项>常规>外观>颜色和字体 选择背景颜色选项,取消选中默认值,更改为黑色 选择背景颜色选项,取消选中默认值,更改为所选颜色 更改文字颜色 打开Windows>首选项>编辑器>文本编辑器 选择元素并更改颜色 最后制作Apply和Ok To change background colour: Open Windows>Preferences>General>Appearance> Colors and fonts Select background color...

如何在eclipse中更改悬停背景和前景色?(How to change hover background and foreground color in eclipse?)

如果您的ITextHover类也实现了ITextHoverExtension您可以在getHoverControlCreator()方法中提供getHoverControlCreator() 。 您可以使用一个简单的IInformationControlCreator , IInformationControlCreator返回一个DefaultInformationControl实例作为信息控件。 DefaultInformationControl具有setForegroundColor和set...

如何在Eclipse中更改Editor的颜色(How to change color of Editor in Eclipse)

我认为你安装了Editbox插件。 使用eclipse主题卸载此插件并管理颜色。 或者尝试使用Editbox插件本身提供的设置/首选项。 请参阅此 。 我认为编辑框设置会覆盖首Preferences>General>Appearance中的Preferences>General>Appearance 。 您还可以使用此类图标快速启用/禁用 在Eclipse主工具栏上。 从EditBox中选择更多主题,请阅读https://github.com/Nodeclipse/EditBox 要么 I thi...

如何在eclipse中更改ctrl / command + hover变量/ method / class的颜色(How to change the color of ctrl/command+hover variable/method/class in eclipse)

它在General - > Editors - > Text Editors选择右侧列表中的Hyperlink ,取消选中System Default并选择所需的颜色。 It in the General -> Editors -> Text Editors choose Hyperlink in the list on the right and uncheck System Default and select desired color.

相关文章

更多

Twitter Storm 可靠消息处理

可靠消息处理 Storm保证从spout发射出来的每个消息都被完全处理。该文章描述storm如何实现 ...

使用 Twitter Storm 处理实时的大数据

转载自:使用 Twitter Storm 处理实时的大数据 简介:Storm 是一个开源的、大数据处理 ...

Twitter Storm - DRPC

https://github.com/nathanmarz/storm/wiki/Distribute ...

Twitter Storm入门

Twitter Storm入门 本文翻译自: https://github.com/na ...

Twitter Storm开篇之作

Storm介绍 Twitter将Storm正式开源了,这是一个分布式的、容错的实时计算系统,它被托管 ...

Twitter Storm 安装篇

Twitter Storm 安装实战 实际上安装Twitter Storm是上周三的事情了,周三 ...

Twitter Storm 实时数据处理框架分析总结

来源:http://www.open-open.com/lib/view/open1328286398 ...

Twitter Storm Real-Life App 排错记

Twitter Storm号称是'实时版本的Hadoop',正好团队在产品中要用,折腾了一下,en,是 ...

Twitter Storm 概念

概念 这个页面列出了storm的主要概念和查找更多信息的链接。讨论的概述有: 1.拓扑( ...

在archlinux上搭建twitter storm cluster

本文详细描述如何在archlinux上搭建twitter storm cluster,转载请注明出处, ...

最新问答

更多

获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)

我用Google搜索了一个解决方案。 “EnumDisplayModeProvider”是我自己设置网站的各种模式的枚举。 public EnumDisplayModeProvider GetDisplayModeId() { foreach (var mode in DisplayModeProvider.Instance.Modes) if (mode.CanHandleContext(HttpContext)) {

如何通过引用返回对象?(How is returning an object by reference possible?)

这相对简单:在类的构造函数中,您可以分配内存,例如使用new 。 如果你制作一个对象的副本,你不是每次都分配新的内存,而是只复制指向原始内存块的指针,同时递增一个也存储在内存中的引用计数器,使得每个副本都是对象可以访问它。 如果引用计数降至零,则销毁对象将减少引用计数并仅释放分配的内存。 您只需要一个自定义复制构造函数和赋值运算符。 这基本上是共享指针的工作方式。 This is relatively easy: In the class' constructor, you allocate m

矩阵如何存储在内存中?(How are matrices stored in memory?)

正如它在“熵编码”中所说的那样,使用Z字形图案,与RLE一起使用,在许多情况下,RLE已经减小了尺寸。 但是,据我所知,DCT本身并没有给出稀疏矩阵。 但它通常会增强矩阵的熵。 这是compressen变得有损的点:输入矩阵用DCT传输,然后量化量化然后使用霍夫曼编码。 As it says in "Entropy coding" a zig-zag pattern is used, together with RLE which will already reduce size for man

每个请求的Java新会话?(Java New Session For Each Request?)

你是如何进行重定向的? 您是否事先调用了HttpServletResponse.encodeRedirectURL()? 在这里阅读javadoc 您可以使用它像response.sendRedirect(response.encodeRedirectURL(path)); The issue was with the path in the JSESSIONID cookie. I still can't figure out why it was being set to the tomca

css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)

我认为word-break ,如果你想在一个单词中打破行,你可以指定它,这样做可以解决问题: .column { word-break:break-all; } jsFiddle演示。 您可以在此处阅读有关word-break属性的更多信息。 I think word-break, with which you can specify if you want to break line within a word, will do the trick: .column { word-break

无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)

我认为您忘记在分类时间内缩放输入图像,如train_test.prototxt文件的第11行所示。 您可能应该在C ++代码中的某个位置乘以该因子,或者使用Caffe图层来缩放输入(请查看ELTWISE或POWER图层)。 编辑: 在评论中进行了一次对话之后,结果发现在classification.cpp文件中错误地删除了图像均值,而在原始训练/测试管道中没有减去图像均值。 I think you have forgotten to scale the input image during cl

xcode语法颜色编码解释?(xcode syntax color coding explained?)

转到: Xcode => Preferences => Fonts & Colors 您将看到每个语法高亮颜色旁边都有一个简短的解释。 Go to: Xcode => Preferences => Fonts & Colors You'll see that each syntax highlighting colour has a brief explanation next to it.

在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)

你考虑过第三方拼写检查吗? 您可以将在C#中开发的自定义WinForms控件插入访问数据库吗? VB6控件怎么样? 如果你能找到一个使用第三方库进行拼写检查的控件,那可能会有效。 Have you considered a third party spell checker? Can you insert a custom WinForms controls developed in C# into an access database? What about a VB6 control? If

从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)

我有同样的问题,因为我在远程服务器上有两个图像,我需要在每天的预定义时间复制到我的本地服务器,这是我能够提出的代码... try { if(@copy('url/to/source/image.ext', 'local/absolute/path/on/server/' . date("d-m-Y") . ".gif")) { } else { $errors = error_get_last(); throw new Exception($err

从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))

我不确定我完全明白你在说什么。 你能编辑你的帖子并包含你正在做的Subversion命令/操作的特定顺序吗? 最好使用命令行svn客户端,以便容易为其他人重现问题。 如果您只是想获取文件的旧副本(即使该文件不再存在),您可以使用如下命令: svn copy ${repo}/trunk/moduleA/file1@${rev} ${repo}/trunk/moduleB/file1 其中${repo}是您的存储库的URL, ${rev}是您想要的文件的版本。 这将恢复该文件的旧版本,包括最高版本