Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html CSS不适用于live heroku网站,但适用于localhost 我甚至不确定这里要显示什么代码,但是我有一个基本的Rails网站,使用Hyror并在HeloCU上进行托管。我的CSS和所有东西都工作得很好,直到我将更改推到Heroku之后,我突然添加的一个东西无法工作,但它在我的本地主机上工作。这是不起作用的CSS: .thankyou { background-image: url('xxx.jpg'); background-size:cover; a { color: white; text-decoration: underline; &:hover { } } .question-list { color: white; font-family: Muli; text-align: left; font-size: 17px !important; ul { list-style-type: none; li { font-size: 17px !important; line-height: 22px !important; } } p, ol, ul, td { font-family: verdana, arial, helvetica, sans-serif; font-size: 17px; line-height: 22px; color:white; } } }_Html_Css_Ruby On Rails_Heroku_Zurb Foundation - Fatal编程技术网

Html CSS不适用于live heroku网站,但适用于localhost 我甚至不确定这里要显示什么代码,但是我有一个基本的Rails网站,使用Hyror并在HeloCU上进行托管。我的CSS和所有东西都工作得很好,直到我将更改推到Heroku之后,我突然添加的一个东西无法工作,但它在我的本地主机上工作。这是不起作用的CSS: .thankyou { background-image: url('xxx.jpg'); background-size:cover; a { color: white; text-decoration: underline; &:hover { } } .question-list { color: white; font-family: Muli; text-align: left; font-size: 17px !important; ul { list-style-type: none; li { font-size: 17px !important; line-height: 22px !important; } } p, ol, ul, td { font-family: verdana, arial, helvetica, sans-serif; font-size: 17px; line-height: 22px; color:white; } } }

Html CSS不适用于live heroku网站,但适用于localhost 我甚至不确定这里要显示什么代码,但是我有一个基本的Rails网站,使用Hyror并在HeloCU上进行托管。我的CSS和所有东西都工作得很好,直到我将更改推到Heroku之后,我突然添加的一个东西无法工作,但它在我的本地主机上工作。这是不起作用的CSS: .thankyou { background-image: url('xxx.jpg'); background-size:cover; a { color: white; text-decoration: underline; &:hover { } } .question-list { color: white; font-family: Muli; text-align: left; font-size: 17px !important; ul { list-style-type: none; li { font-size: 17px !important; line-height: 22px !important; } } p, ol, ul, td { font-family: verdana, arial, helvetica, sans-serif; font-size: 17px; line-height: 22px; color:white; } } },html,css,ruby-on-rails,heroku,zurb-foundation,Html,Css,Ruby On Rails,Heroku,Zurb Foundation,这是该部分的HTML: <section class="hero thankyou"> <div class="row"> <div class="large-12 columns"> <div class="main-wrapper"> <h1>Thank you for your interest! </h1> <h3 id="putparadise"><

这是该部分的HTML:

<section class="hero thankyou">
  <div class="row">
    <div class="large-12 columns">
      <div class="main-wrapper">
      <h1>Thank you for your interest! </h1>
      <h3 id="putparadise"><em>Check your inbox for the link to the webinar, or click <a href="/">here</a> to return to the home page.</em></h3>

      <hr>
    </div>
  </div>
</div>
<div class="row">
  <div class="large-8 columns webinar-video">
    <div class="black-box-2">
      <h3>6 critical questions that will be addressed in the webinar</h3>
      <div class="row">
        <div class="large-6 columns question-list">
          <ul>
            <li><p><strong>1. Type of title</strong><br> What kind of title are you getting? Is it a Land Title, a Conveyance or A Land Lease?</li></p>
            <li><p><strong>2. Taxation</strong><br> Capital gains taxes? Property taxes?</li></p>
            <li><p><strong>3. Water/Sewer</strong><br> Are the water and sewer regulated or unregulated?</li></p>

          </ul>
        </div>
        <div class="large-6 columns question-list">
          <ul>
            <li><p><strong>4. Ownership Structure</strong><br> Learn about foreign ownership rights. Should you invest in your personal name vs company name vs IBC?</li></p>
            <li><p><strong>5. Vehicle Ownership</strong><br> Can I own a vehicle? Yes... IF your property meets the requirements for vehicle permits.</li></p>
            <li><p><strong>6. IRA/401K Eligibility</strong><br> Learn how you can use your retirement savings/funds to invest in Belize.</li></p>
          </ul>
        </div>
      </div>
    </div>
    </div>
    <div class="large-4 columns sidebar">
      <div class="black-box-3">
        <p><strong>After watching the on-demand webinar, you'll receive an email from us.</strong></p>

        <p>Simply reply to that e-mail if you'd like to receive more information,
          be sure to ask any specific question you have!
          We'll get back to you within 1 working day.</p>        
      </div>
      <div class="row">
        <div class="large-12 followup">
        </div>
      </div>
    </section>

谢谢你的关注!
查看您的收件箱中的网络研讨会链接,或单击返回主页。

将在网络研讨会上讨论的6个关键问题
  • 1。标题类型
    您得到的是什么类型的标题?它是土地所有权、转易契还是土地租赁?
  • 2。税收
    资本利得税?物业税?
  • 3。水/下水道
    水和下水道是受监管的还是不受监管的?
  • 4。所有权结构
    了解外国所有权。您是否应该投资于您的个人名称、公司名称和IBC?
  • 5。车辆所有权
    我可以拥有车辆吗?对如果您的财产符合车辆许可证的要求。
  • 6。IRA/401K资格
    了解如何使用退休储蓄/资金在伯利兹投资。
观看点播网络研讨会后,您将收到我们的电子邮件。

如果您想收到更多信息,只需回复该电子邮件, 一定要问你的任何具体问题! 我们将在1个工作日内回复您。

据我所知,heroku日志中没有明显的错误,但我也不擅长阅读它们,所以如果有人知道应该去哪里看,或者可能会发生什么,那就太好了


好的,在继续进行项目工作之后,我发现我为新的部分添加的CSS也不起作用。当我在我的项目中的编译CSS文件中搜索“cmd-f”代码时,它不会出现。什么会导致css突然停止编译?

请尝试在终端中运行以下命令

heroku run bundle exec rake assets:precompile
然后重新启动服务器

heroku restart

当你浏览网页的源代码时,是否正确加载了css文件?@MaximeMangel当我查看实时网页上编译的css时,我提到的css都不存在。。为什么它不能正确地推送到heroku?您是否使用了相对路径或绝对路径来引用您的css文件?因此我在这里找到了答案:不确定它的哪一部分解决了问题,但它至少起了作用!