English 中文(简体)
在特别安全局,有条件这样做
原标题:Is it possible to do conditionals like this in CSS
  • 时间:2011-10-18 02:55:33
  •  标签:
  • css
  • html

我要说的是,我有一份CSS DIV, 持格式的辛塔克斯法典。 DIV的编号为min-width:100;max-width:100;

同样的数字数字数字表示,在数字四的编辑、<代码>最大宽度:135% ! 进口;和min-width: 135%;

因此,如果按格式编码的DIV编码范围较广,DIV则显示滚动条,如果你把DIV扩大到不超过13.5%的宽度,如果DIV的代码不超过DIV的宽度,DIV则保持同样的宽度。

我的问题是,如果四分之二超过100%的宽度,则会扩大至法典的宽度,但停留在13.5%的LESS,即使该法典不是13.5%,而是超过100%,还是能够将其扩大到13.5%?

Hopefully this makes sense

我几乎需要某种条件说明,说......


www.un.org/Depts/DGACM/index_spanish.htm 如果四氯环乙烷的含量与大于100,则100%使四氯苯的浓度达到13.5%。


这是否可行?

这里,我全心全意的科安科

.syntax {
  min-width: 100%;
  max-width: 100%;
  margin: 1em 0 1em 0;
  position: relative;
  overflow-y: hidden;
  overflow-x: auto;
  font-size: .9em;
  display:inline-block;
}
.syntax:hover {
  max-width: 135% !important;
  min-width: 135%;
}
最佳回答

我不敢肯定我会说,你会说,如果我不错的话,你会再 aside,这就是:

min-width:135%!

您可能需要根据您的需要调整过量。

A better option would be to use fixed sizes, but if you re working on adaptive layout environments guess that is a no go

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签