- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用一些嵌入代码在我们的乡镇网站上制作了一个显示/隐藏常见问题解答。但是,它突然停止使用 bluehost 对其 weebly 版本所做的最新更新。寻找任何想法,因为我很难过。
<div class="paragraph">
<style>
.row { vertical-align: top; height:auto !important; }
.list {display:none; }
.show {display: none; }
.hide:target + .show {display: inline; }
.hide:target {display: none; }
.hide:target ~ .list {display:inline; }
@media print { .hide, .show { display: none; } }
.readarea {background-color: #AD9D7F; box-shadow: inset 0px 0px 20px; padding: 0px 10px 0px 10px;}
.underlined {text-decoration:underline;}
.italics {font-style:italic;}
</style>
<div class="row">
<a href="#hide1" class="hide" id="hide1"><strong>Tax Cycle Information</strong></a>
<a href="#show1" class="show" id="show1"><strong>Tax Cycle Information</strong></a>
<div class="list">
<div class="readarea">
<p><strong>On Tuesdays, Feb. 7th, 14th and 21st, the Clinton Township Treasurer’s office will be open from 8:30 a.m. to 6:30 p.m. On Tuesday, Feb. 28th, the last day to pay 2016 taxes, the Treasurer’s office will be open from 8:30 to 5:00 pm.</strong></p>
<p><strong>TAX YEAR</strong><br />
<span class="underlined"><strong>Each tax cycle begins July 1 and concludes on the last day in February.</strong></span> *Exception: If the last day of February falls on a Saturday or Sunday, the last day for collection moves to the next business day.
<p><span class="underlined"><strong>Summer tax lien is July 1 and payable through September 14 without interest.</strong></span> From September 15th to September 30th a 1% late fee will be assessed. An additional 1% will be assessed the first of each month thereafter through the end of February.</p>
<p><strong>Winter tax lien is December 1 and payable through the end of the tax cycle without interest.</strong></p>
<p><strong>As of March 1, unpaid taxes are considered delinquent</strong> (with the *Exception noted above) <strong>and must be paid to the Macomb County Treasurer's Office.</strong> The County Treasurer's Office is located in the Macomb County Administration Building at <span class="underlined">One South Main in Mount Clemens.</span> <strong>Clinton Township DOES NOT have records of payments made to the Macomb County Treasurer for delinquent taxes.</strong> You must contact the Macomb County Treasurer (586) 469-5190 to determine pay off amounts for delinquent taxes or to verify if delinquent taxes have been paid. You can also obtain delinquent property tax information on the County website: <a href="http://www.macombcountymi.gov/treasurer" target="_blank">http://www.macombcountymi.gov/treasurer.</a></p>
<p><strong>TAX BILLS</strong><br />
Tax bills should be received the first week in July and the first week of December. If you do not receive a tax bill at these times, please call the Treasurer’s Office at (586) 286-9313. <strong>Failure to receive a tax bill does not waive responsibility for making payment by the due date.</strong></p>
</div>
</div>
</div>
<div class="row">
<a href="#hide2" class="hide" id="hide2"><strong>Deferments & Exemptions</strong></a>
<a href="#show2" class="show" id="show2"><strong>Deferments & Exemptions</strong></a>
<div class="list">
<div class="readarea">
<p><strong>Contact the Treasurer's Office (586) 286-9313 for the following:</strong></p>
<p><strong>SUMMER TAX DEFERMENT</strong> is available to senior citizens (62) who meet the income requirements as well as paraplegic, quadriplegic, totally and permanently disabled, blind or eligible service persons, veterans or widows. Application must be made July 1st through September 14th.</p>
<p><strong>Contact the Assessing Department (586) 286-9468 for the following:</strong>
<p><strong>PRINCIPAL RESIDENCE EXEMPTION (P.R.E.)</strong> provides the "principal residence" of a taxpayer with an exemption from the local school operating millage, up to 18 mills. An owner must claim this exemption by filing an affidavit with the township's assessing department on or before June 1st. Taxpayers may only claim one home as their principal residence.</p>
<p>Note: A Notice of Foreclosure presented to the Assessor results in the removal of the P.R.E. status from the property.</p>
<p><strong>POVERTY EXEMPTION</strong> requests can be made by low income residents only for the current year, not for previous years. Residents must own and reside in the home for two consecutive years preceding the application and provide proof of income for all persons living in the residence. Household gross income must meet the current year's income guidelines set by the Township Board. Application can be made for the March, July or December Board of Review.</p>
<p><strong>VETERAN'S EXEMPTION</strong> from the collection of property taxes is available to disabled veterans who were discharged from the armed forces of the U.S. under honorable conditions and who own and use the real property as a homestead. An affidavit and other documentation required by PA 161 of 2013 must be filed by the veteran or non-remarried surviving spouse with the assessing office.</p>
<p><strong>RELIEF DURING ACTIVE MILITARY SERVICE</strong> can be granted to soldiers and sailors who own property. Application can be filed before or during the period of service. Under the Soldiers & Sailors Relief Act, property can't be sold to pay delinquent property taxes during the service person's tour of active duty. If taxes are delinquent during the tour of duty, an interest of 6% per year will be charged rather than at the higher rates provided by law.</p>
</div>
</div>
</div>
</div>
如果我只是将其放入 .html 文件中,它将在 IE、Edge 和 Chrome 中正常工作。就在我把我的代码嵌入 weebly 时,它不起作用,所以我假设我的 weebly 模板中的某些东西玩得不好,但我想不通。
最佳答案
这可能是因为您将“隐藏”用作类,而 Weebly 的默认 site.css 样式表与您的代码冲突。
SO,.. 将 hide
更改为 custom-hide
:
<div class="paragraph">
<style>
.row { vertical-align: top; height:auto !important; }
.list {display:none; }
.custom-show {display: none; }
.custom-hide:target + .custom-show {display: inline; }
.custom-hide:target {display: none; }
.custom-hide:target ~ .list {display:inline; }
@media print { .custom-hide, .custom-show { display: none; } }
.readarea {background-color: #AD9D7F; box-shadow: inset 0px 0px 20px; padding: 0px 10px 0px 10px;}
.underlined {text-decoration:underline;}
.italics {font-style:italic;}
</style>
<div class="row">
<a href="#hide1" class="custom-hide" id="hide1"><strong>Tax Cycle Information</strong></a>
<a href="#show1" class="custom-show" id="show1"><strong>Tax Cycle Information</strong></a>
<div class="list">
<div class="readarea">
<p><strong>On Tuesdays, Feb. 7th, 14th and 21st, the Clinton Township Treasurer’s office will be open from 8:30 a.m. to 6:30 p.m. On Tuesday, Feb. 28th, the last day to pay 2016 taxes, the Treasurer’s office will be open from 8:30 to 5:00 pm.</strong></p>
<p><strong>TAX YEAR</strong><br />
<span class="underlined"><strong>Each tax cycle begins July 1 and concludes on the last day in February.</strong></span> *Exception: If the last day of February falls on a Saturday or Sunday, the last day for collection moves to the next business day.
<p><span class="underlined"><strong>Summer tax lien is July 1 and payable through September 14 without interest.</strong></span> From September 15th to September 30th a 1% late fee will be assessed. An additional 1% will be assessed the first of each month thereafter through the end of February.</p>
<p><strong>Winter tax lien is December 1 and payable through the end of the tax cycle without interest.</strong></p>
<p><strong>As of March 1, unpaid taxes are considered delinquent</strong> (with the *Exception noted above) <strong>and must be paid to the Macomb County Treasurer's Office.</strong> The County Treasurer's Office is located in the Macomb County Administration Building at <span class="underlined">One South Main in Mount Clemens.</span> <strong>Clinton Township DOES NOT have records of payments made to the Macomb County Treasurer for delinquent taxes.</strong> You must contact the Macomb County Treasurer (586) 469-5190 to determine pay off amounts for delinquent taxes or to verify if delinquent taxes have been paid. You can also obtain delinquent property tax information on the County website: <a href="http://www.macombcountymi.gov/treasurer" target="_blank">http://www.macombcountymi.gov/treasurer.</a></p>
<p><strong>TAX BILLS</strong><br />
Tax bills should be received the first week in July and the first week of December. If you do not receive a tax bill at these times, please call the Treasurer’s Office at (586) 286-9313. <strong>Failure to receive a tax bill does not waive responsibility for making payment by the due date.</strong></p>
</div>
</div>
</div>
<div class="row">
<a href="#hide2" class="custom-hide" id="hide2"><strong>Deferments & Exemptions</strong></a>
<a href="#show2" class="custom-show" id="show2"><strong>Deferments & Exemptions</strong></a>
<div class="list">
<div class="readarea">
<p><strong>Contact the Treasurer's Office (586) 286-9313 for the following:</strong></p>
<p><strong>SUMMER TAX DEFERMENT</strong> is available to senior citizens (62) who meet the income requirements as well as paraplegic, quadriplegic, totally and permanently disabled, blind or eligible service persons, veterans or widows. Application must be made July 1st through September 14th.</p>
<p><strong>Contact the Assessing Department (586) 286-9468 for the following:</strong>
<p><strong>PRINCIPAL RESIDENCE EXEMPTION (P.R.E.)</strong> provides the "principal residence" of a taxpayer with an exemption from the local school operating millage, up to 18 mills. An owner must claim this exemption by filing an affidavit with the township's assessing department on or before June 1st. Taxpayers may only claim one home as their principal residence.</p>
<p>Note: A Notice of Foreclosure presented to the Assessor results in the removal of the P.R.E. status from the property.</p>
<p><strong>POVERTY EXEMPTION</strong> requests can be made by low income residents only for the current year, not for previous years. Residents must own and reside in the home for two consecutive years preceding the application and provide proof of income for all persons living in the residence. Household gross income must meet the current year's income guidelines set by the Township Board. Application can be made for the March, July or December Board of Review.</p>
<p><strong>VETERAN'S EXEMPTION</strong> from the collection of property taxes is available to disabled veterans who were discharged from the armed forces of the U.S. under honorable conditions and who own and use the real property as a homestead. An affidavit and other documentation required by PA 161 of 2013 must be filed by the veteran or non-remarried surviving spouse with the assessing office.</p>
<p><strong>RELIEF DURING ACTIVE MILITARY SERVICE</strong> can be granted to soldiers and sailors who own property. Application can be filed before or during the period of service. Under the Soldiers & Sailors Relief Act, property can't be sold to pay delinquent property taxes during the service person's tour of active duty. If taxes are delinquent during the tour of duty, an interest of 6% per year will be charged rather than at the higher rates provided by law.</p>
</div>
</div>
</div>
</div>
关于html - Weebly 嵌入代码停止工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44659936/
所以我在 Weebly 中选择了一个基本主题,并用我自己的 CSS 和 HTML 完全改变了它。我正在尝试修改水平导航栏。栏本身居中,但栏内列出页面(主页、视频、设计、简历等)的文本不是。下面我包含了
作为志愿者,我已经使用 HTML、CSS、JS 和 Bootstrap 为一个非营利组织构建了一个新网站,目前他们正在使用 Weebly 托管他们的网站。我只是一直在使用我的大学托管的学生域来显示我的
我在 Weebly 上有一个网站,当您向下滚动时,该模板会导致导航菜单跟随您,使其在页面上的任何位置都可见。导航菜单挡住了我的内容,所以如果我能将它放在页面顶部就好了。 我正在尝试将代码粘贴到此处,但
所以我正在使用 DivTag Templates for Weebly 中的模板。我去找他们寻求帮助,他们说他们帮不了我,因为这不是问题,只是一种定制。 :( 我的客户问是否可以将模板上的侧边栏从右侧
我使用一些嵌入代码在我们的乡镇网站上制作了一个显示/隐藏常见问题解答。但是,它突然停止使用 bluehost 对其 weebly 版本所做的最新更新。寻找任何想法,因为我很难过。 .row { v
我有这个http://jsfiddle.net/TtX7F/1/但我不知道如何让它在 weebly 中工作。 HTML 部分有效,但 js 仅在编辑时有效,而不是在发布时有效,我不知道将 CSS 放在
是否可以允许自定义搜索栏?在我的一个网页上,出于设计原因,我决定不使用标准的 Weebly 搜索栏(而且它之前没有出现),而是在导航栏上 retrofit 了一个简单的文本栏,用作网页的搜索酒吧。现在
我正在使用 weebly 作为我的网站构建器。我无法在垂直菜单中放置 Adsense 广告 - 如果我使用编辑器,我只能将其放置在内容窗口中。 我假设我必须修改 css/html 并在此区域创建内容面
如何使用 html 和 css 在 Weebly 中设置默认选中的单选按钮?我正在尝试做这样的事情: .wsite-form-radio-container input { checked: "che
关闭。这个问题是off-topic .它目前不接受答案。 想改进这个问题吗? Update the question所以它是on-topic用于堆栈溢出。 关闭 10 年前。 Improve th
我想创建一些东西,允许人们使用拖放在线方式创建网站,就像 weebly.com 一样。这是使用什么语言 - javascript? 最佳答案 您可以使用具有内置拖放功能的 Javascript 库,例
2014 年 3 月 12 日更新: 我最终决定切换到具有居中导航栏和 Logo 的主题。然后我从旧主题转移了我的其他自定义 CSS 元素,例如字体、颜色和按钮样式。这是我网站的链接:http://w
如果某些导航菜单项具有子类别,我正在尝试使其不可点击。我想出了如何为父项执行此操作,但我在处理子项时遇到了麻烦 - 如果它们分支到较小的类别,则使它们不可点击。 `enter code here`#n
我不知道如何在 weebly 上更改图库图像的边框。客户端使用 weebly 以便于设计后的后端编辑..所以这些是我的参数。除了这些类型的问题……大多数代码编辑都非常简单……直到现在! 这是 weeb
有谁知道如何在 WEEBLY 中单击图库图像时更改白色边框。我知道如何在点击图库图像之前更改它们的边框颜色。这是这样安排在 css 中的: /* Gallery ---------------*/ .
我试图在子页面上保持父导航背景处于事件状态。 示例:投资组合---->程序 当我的当前页面是 Programs 时,我想让导航栏上的 Portfolio 保持事件状态。 CSS 中使用的代码是: /*
我希望能够创建一个横跨整个屏幕宽度的 div。问题是,这应该与 Weebly 的设计系统一起工作,该系统将它放在固定宽度的 div 中。 内容创建如下: #main-wrap { wi
默认情况下,Weebly 似乎会向其子菜单附加一个 jquery 函数,以隐藏子菜单并在用户将鼠标悬停在父菜单元素上时显示子菜单。 有谁知道是否有办法防止这种情况发生?这一切都是在使用自定义页面模板加
我在电子商务商店中使用 weebly 网站构建器。我的整个网站都是靠右对齐的,除了“产品描述”区域,我找不到编辑它的方法。似乎 weebly 在后台编写了产品描述中的所有文本将自动左对齐的程序。当我通
在 weebly.com 上,我总是为着陆页获得相同的 4 个标题,无标题、小标题、大标题......我如何将所有这些汇总到我自己的一个标题中,类似于这个网站? https://www.revival
我是一名优秀的程序员,十分优秀!