首页 \ 问答 \ SCROLLING =没有!(Scrolling=no! does not hide the scroll)

SCROLLING =没有!(Scrolling=no! does not hide the scroll)

根据“验证器w3c”,iframe元素上的滚动属性已过时。 这意味着对于iFrame,存在Scrolling =“no”CSS等价物。

我试过了: Overflow: hidden; 但没有成功。

这里有一个例子:

1)滚动=“否”(它工作正常)

但它确实抱怨了

2)Scrolling =“no”CSS等价物,(它不起作用,因为它显示了滚动)


According the "validator w3c", the scrolling attribute on the iframe element is obsolete. It means that for iFrame there is a Scrolling="no" CSS equivalent.

I have tried: Overflow: hidden; but without success.

Here an example with:

1)Scrolling="no" (it works fine)

but w3c it does complain

2)Scrolling="no" CSS equivalent, (it doesn't work because it shows the scroll)


原文:https://stackoverflow.com/questions/5750119
更新时间:2022-07-20 21:07

最满意答案

更新2014-09

如果您尝试在系统范围内安装RVM,则首选使用普通用户(非root用户)进行RVM安装。

$ curl -L get.rvm.io | bash -s stable
$ source ~/.rvm/scripts/rvm

$ rvm requirements
$ rvm install 2.1.3
$ rvm use --default 2.1.3

此外,也许是偏离主题,对于prod服务器并替换默认的1.8.7(系统范围)你可以在没有RVM的情况下做到:

$ git clone https://github.com/sstephenson/ruby-build.git
$ cd ruby-build
$ ./install.sh

$ ruby-build 2.1.3 /usr/local

UPDATE 2014-09

If you'are trying to install RVM system wide, preferred is to use a normal user (not root) for RVM installation.

$ curl -L get.rvm.io | bash -s stable
$ source ~/.rvm/scripts/rvm

$ rvm requirements
$ rvm install 2.1.3
$ rvm use --default 2.1.3

Also, perhaps off-topic, for a prod server and to replace default 1.8.7 (system wide) you could do it without RVM:

$ git clone https://github.com/sstephenson/ruby-build.git
$ cd ruby-build
$ ./install.sh

$ ruby-build 2.1.3 /usr/local

相关问答

更多
  • 您正在运行过时的RVM版本。 您应该使用http://rvm.io上介绍的建议安装路径,并且不要使用软件包安装程序。 要修复此检查,请访问https://stackoverflow.com/a/9056395/497756 。 也不要使用1.9.2而不是使用当前的1.9.3 ruby而对于新项目使用在RC1中的2.0.0并且应该很快发布。 You're running an outdated version of RVM. You should go with the recommended install ...
  • 我强烈建议你使用官方网站来安装RVM: https : //rvm.io/rvm/install 你的问题是当你打开一个新的终端时,RVM没有被加载,这就是为什么你必须在终端的每个实例上手动添加源代码的原因。 要解决这个问题 ,请运行以下命令行:( 如果使用登录shell ) echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile 或者这个( 如果使用非登录shell ): echo "source $HOME/.rvm/scripts/rvm" > ...
  • 跟踪运行gem install -V --backtrace --debug haml (谢谢zzzhc)并仔细查看/home/mark/.gem目录后,我发现没有安装gems,只有gemspec文件和宝石源文件。 本着实验的精神,我删除了/home/mark/.gem并重新运行了gem install命令,并突然它正在工作。 而且它已经为我刚刚安装的宝石重新创建了包含gemspecs的/home/mark/.gem 。 现在很明显,我错误地解释了原始问题中的错误信息; 在尝试将gem安装到/home/ma ...
  • 看来你的代理正在对请求做些什么。 您可以尝试通过其他方式下载安装程序脚本。 首先尝试在Web浏览器中输入该URL。 如果您转到以#!/usr/bin/env bash开头的页面,那么您可以将其保存(右键单击 - >另存为/保存页面)作为“rvm-installer”。 如果它不起作用,您可以尝试通过其完整URL下载脚本: $ wget https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer 之后你可以执行它: $ ca ...
  • 你不应该以这种方式安装rvm,ubuntu存储库中的软件包很老,包含多个bug,请查看此说明以获得正确清理和安装rvm的方法: https ://stackoverflow.com/a/9056395/497756 you should not install rvm this way, the package in ubuntu repositories is very old an contains multiple bugs, please check this instruction for a w ...
  • 结果发现一切都很好,正确。 如果你有这个问题,这是你的shell设置的问题。 您需要将您的配置文件设置为登录shell 。 如何在Ubuntu的标准GUI上的标准终端中进行设置 (GNOME终端Unity) 通过进入菜单和图片Terminal > Preferences来访问您的设置。 在弹出的窗口中,选择标签菜单中的Profiles 。 选择是否要创建新配置文件或编辑现有的默认配置文件。 在出现的窗口中(不管你的图片是什么),转到选项卡Command并启用Run command as a login sh ...
  • 尝试了很多方法之后。 我确实成功安装了rails,如下所示: $ \curl -sSL https://get.rvm.io | bash $ source /home//.rvm/scripts/rvm $ rvm -v $ rvm install ruby $ ruby -v $ sudo apt-get install rubygems $ gem update $ sudo apt-get install ruby-dev zlib1g-dev liblzma-dev build-ess ...
  • 你正试图用apt-get安装它。 你可能安装了ruby-rvm,但由于它已经过时,它被安装了。 您可能必须使用synaptic或通过sudo apt-get purge ruby-rvm命令删除它。 你不应该通过apt-get安装rvm。 阅读Ryan的帖子更加小心。 正确的安装rvm的命令是: curl -L https://get.rvm.io | bash -s稳定 You're trying to install it with apt-get. You probably installed rub ...
  • 如果我理解你的问题,你可以用root作为整个命令 sudo -i curl -L https://get.rvm.io | bash -s stable --ruby 或者,将命令分成两个命令 - curl -L https://get.rvm.io > install.rb sudo bash -s stable --ruby < install.rb rm install.rb If I understand your question, you can either do the entire c ...
  • 更新2014-09 如果您尝试在系统范围内安装RVM,则首选使用普通用户(非root用户)进行RVM安装。 $ curl -L get.rvm.io | bash -s stable $ source ~/.rvm/scripts/rvm $ rvm requirements $ rvm install 2.1.3 $ rvm use --default 2.1.3 此外,也许是偏离主题,对于prod服务器并替换默认的1.8.7(系统范围)你可以在没有RVM的情况下做到: $ git clone htt ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)