gpt4 book ai didi

html - 在对齐 Chrome 中遗留的元素符号时遇到问题

转载 作者:行者123 更新时间:2023-11-28 08:10:29 25 4
gpt4 key购买 nike

我是一名企业主(不是开发人员),他试图通过以下方式(看似)随机地修复子弹:

  • 在有序或无序列表的右侧显示元素符号。
  • 在列表的右侧显示元素符号,随后的元素符号正确显示在左侧。

问题出现在 Chrome 中。 Firefox 似乎没问题。

我有:

  • 通过网络和 stackoverflow 研究了该问题,但未能找到相关的解决方案。
  • 尝试从头开始重建页面。但是,问题仍然存在。
  • 尝试使用 DreamWeaver 和 Expression Web 等拆分设计/代码 Web 开发应用程序进行修复。

然而,尽管我尽了最大的努力来修复,但 HTML 仍然盛行。

我的网站最初是由(表面上)知道自己在做什么的开发人员编写的。所以我正在处理遗留页面和结构。

真诚感谢任何帮助。其他非开发者论坛成员可能会从您的回答中受益。

谢谢。

我已经在下面插入了嵌套的有序/无序列表代码。

<h2>Private Equity Criteria</h2>
<p>To qualify for a Private Equity investment your company needs to:<br/>
<ol>
<li><span class="listtext1">Have a viable business model, customers, revenue, and profitability &#8212; with a
minimum EBITDA of $1M - $3M.</span><ul class="listtext1">
<li>That means: Neither start-ups nor early stage (pre-revenue) companies qualify for Private Equity.</li>
</ul>
</li>
<li><span class="listtext1">Offer a strategic business opportunity. For example:</span><ul class="listtext1">
<li>Access to a fast growing niche market.</li>
<li>Intellectual property in the form of patents, trademarks, and unique technology.</li>
<li>Access to large, growing, and difficult-to-reach customer segments.</li>
<li>Or similar benefits.</li>
</ul>
</li>
</ol>
<h2>Strategic Investors</h2>
<p>We refer to Strategic Investors as 'Private Equity Lite.' Strategic
Investors function much the same way as does a Private Equity group &#8212; with
the exception that there is no public investment fund. Strategic Investors
invest for themselves. Other than that, Strategic Investors and PEGs have
very similar approaches to investing in and growing a company.</p>
<h2>What Private Equity is NOT</h2>
<p>Private Equity is not Angel Capital or Venture Capital.</p>
<ul class="listtext1">
<li>Angel investors invest in start-up companies, rarely asking for
majority control.</li>
<li>Venture Capital provides capital to early-stage, high-potential, and
often high-risk growth companies. Like PEGs, VCs also create investment
funds, and also take an equity position in the company, usually after
the Series 'A' funding round. Venture Capital is a subset of Private
Equity, but not all Private Equity is Venture Capital.</li>
</ul>

最佳答案

查看 actual page ,违规元素符号上方的段落应用了 float:left 的 CSS。

这个 CSS 可以在文件 tvgcss.css 中找到

p {
font-size: 12px;
font-weight: normal;
color: #000;
text-align: left;
text-decoration: none;
line-height: 18px;
float: left;
width: 100%;
margin: 0 0 5px 0;
}

去掉左边的 float 位,你应该就好了。请检查您的网站,确保一切正常。

或者如果您只想影响该页面,请将 style="float:none !important;" 添加到列表上方的段落中,就像这样(复制这个,因为你的错误——第一段没有结束):

<h2>Private Equity Criteria</h2>
<p style="float:none !important;">
To qualify for a Private Equity investment your company needs to:
</p>
<ol>
<li>
<span class="listtext1">
Have a viable business model, customers, revenue, and profitability &#8212; with a
minimum EBITDA of $1M - $3M.
</span><ul class="listtext1">
<li>That means: Neither start-ups nor early stage (pre-revenue) companies qualify for Private Equity.</li>
</ul>
</li>
<li>
<span class="listtext1">Offer a strategic business opportunity. For example:</span><ul class="listtext1">
<li>Access to a fast growing niche market.</li>
<li>Intellectual property in the form of patents, trademarks, and unique technology.</li>
<li>Access to large, growing, and difficult-to-reach customer segments.</li>
<li>Or similar benefits.</li>
</ul>
</li>
</ol>
<h2>Strategic Investors</h2>
<p style="float:none !important;">
We refer to Strategic Investors as 'Private Equity Lite.' Strategic
Investors function much the same way as does a Private Equity group &#8212; with
the exception that there is no public investment fund. Strategic Investors
invest for themselves. Other than that, Strategic Investors and PEGs have
very similar approaches to investing in and growing a company.
</p>
<h2>What Private Equity is NOT</h2>
<p>Private Equity is not Angel Capital or Venture Capital.</p>
<ul class="listtext1">
<li>
Angel investors invest in start-up companies, rarely asking for
majority control.
</li>
<li>
Venture Capital provides capital to early-stage, high-potential, and
often high-risk growth companies. Like PEGs, VCs also create investment
funds, and also take an equity position in the company, usually after
the Series 'A' funding round. Venture Capital is a subset of Private
Equity, but not all Private Equity is Venture Capital.
</li>
</ul>

欢迎来到 StackOverflow :)

关于html - 在对齐 Chrome 中遗留的元素符号时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29302566/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com