- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我这里有一个页面: http://www.iliveaccountable.com/mytestsite/founders/
“MICHAEL GARDNER/CHIEF EXECUTIVE OFFICER”的部分不会像第一个文本和图像那样 float 。
你知道它为什么不 float 吗?
完整代码如下:
<div style="margin-top: 10px; float: left;">
<img src="http://www.iliveaccountable.com/mytestsite/wp-content/uploads/2016/05/tony-beatty.jpg" alt="tony-beatty" width="351" height="360" class="alignleft size-full wp-image-15670" style="margin-right: 15px; border: 1px solid #dedede; padding: 10px; -webkit-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);
-moz-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);
box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);"/>
</div>
<div style="float: right; margin-top: 11px;">
<h3>TONY BEATTY / CHIEF OPERATIONS OFFICER</h3>
Music Inc. Magazine calls Tony the <em>"Million Dollar Closer”</em>
After 25 years mastering the art of selling Music Inc. Magazine calls Tony the "million dollar closer.” Tony is not
only an extremely accomplished sales genius, but he considers himself a master story teller. Originally educated in
Music and Acting, Tony’s passion for story selling was express on the theatrical stage. After more than 50
productions his love of music and performance led him to small piano store in St. George Utah where he
combined story telling with enrolling people into music making.
In 2011, playing with video and Social Media, Tony was key in launching The Piano Guys YouTube Channel. To be
excellent in his new craft of video production, Tony received a B.S. Degree in Digital Film Production from Dixie
State University in 2013 which adds to his repertoire of talents. Talents he uses to enroll people into their own
story, vision, and purpose.
Because of Tony’s passion for learning the art of enrollment and personal development he has studied and trained
with some of the most well-known personal educators and facilitators from around the country, such as; Tom
Hopkins, Zig Ziglar, Brian Tracy and John Maxwell. Tony recognizes the behind every person is a story, likewise
products and services that enhance our lives are created through stories. Magic happens when stories merge and
fulfillment in life is achieved.
After training with Michael Gardner, Tony’s story telling took on a whole new meaning. “Life is a story, the human
story. Most peoples make up victim stories that get in the way who they truly are. Once we start recognizing the
truth of our story, we can then finish our story.”
Tony is energetic, enthusiastic and driven by people's success in life. He has comprehensive experience in human
relations inside and outside the retail and services arena. He is characterized as considerate, dependable,
honest, straightforward, hard-working, and personable, with strong management skills, including sales, marketing
and customer relationship management experience develop throughout the last 25 years.
Tony offers a combination of creative talents and a strong personal experience with people from all walks of life.
He devotes time to people while drawing on their energy, experiences and vision to make a positive contribution in
peoples lives.
</div>
<div style="clear: both; margin-bottom: 20px;"> </div>
<div style="float: left; margin-top: 10px; border: 1px solid red;">
<img src="http://www.iliveaccountable.com/mytestsite/wp-content/uploads/2016/05/mike-gardner.jpg" alt="mike-gardner" width="351" height="360" class="alignleft size-full wp-image-15669" style="margin-right: 15px; border: 1px solid #dedede; padding: 10px; -webkit-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);
-moz-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1); box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);"/>
</div>
<div style="float: right; margin-top: 11px; border: 1px solid red;">
<h3>MICHAEL GARDNER / CHIEF EXECUTIVE OFFICER</h3>
Michael Gardner is known as the Master Trainer.
Michael is able to train students at a new depth of knowledge that they have not experienced before, their lives
truly changed. They are able to create a passion for life and newfound wealth. Gifted would be an understatement
in referring to Michael Gardner.
Michael has spent the past 25 years challenging and inspiring over 10,000 people to discover that they are more
powerful than they believe. As a result, he is the premier trainer and coach and his field. Michael's direct
approach, results driven training and coaching has been experienced by CEOs, entrepreneurs, small business
owners, network marketing founders and distributors, athletes, entertainers, students and parents, and anyone
who has a desire to discover they are more powerful than they believe.
Michael has one purpose and one purpose only. That is to support his students to get what they want and more.
His students and clients discover that Michael is very direct, honest and focused. His passion is to change and
support them in their pursuits of self discovery.
Michael has a unique ability to point out the lies and stories people tell themselves to justify where they have fallen short. Even those who have achieved amazing levels of success in life are surprised by how much greater the
results they create are as a result of participating in Michael's training. Past students and clients share a greater sense of power in their lives, as well as becoming more effective in their careers, and a greater sense of peace and fulfillment in their lives.
The main focus of Michael's training and coaching are: accountability, commitment, current pension, honesty,
integrity and trust.
Whether you feel you are successful in your personal life or not, whether you feel you are already fulfilled and life is good, you will benefit exponentially to Michael's training and coaching.
If you are serious about shifting in your life, getting honest about where you are, what is in your way and are
committed to accelerate your life to new levels, then Michael and iLiveAccountable trainings are the perfect fit for you.
</div>
<div style="clear: both;"> </div>
最佳答案
根据您的问题,让我向您展示对您有帮助的代码,但请记住它不会响应(问题中不需要):
<div style="width:80%;margin-left:auto;margin-right:auto;">
<div style="margin-top: 10px; float: left;width:30%">
<img src="http://www.iliveaccountable.com/mytestsite/wp-content/uploads/2016/05/tony-beatty.jpg" alt="tony-beatty" width="351" height="360" class="alignleft size-full wp-image-15670" style="margin-right: 15px; border: 1px solid #dedede; padding: 10px; -webkit-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);
-moz-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);
box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);"/>
</div>
<div style="float: right; margin-top: 11px;width:60%;">
<h3>TONY BEATTY / CHIEF OPERATIONS OFFICER</h3>
Music Inc. Magazine calls Tony the <em>"Million Dollar Closer”</em>
After 25 years mastering the art of selling Music Inc. Magazine calls Tony the "million dollar closer.” Tony is not
only an extremely accomplished sales genius, but he considers himself a master story teller. Originally educated in
Music and Acting, Tony’s passion for story selling was express on the theatrical stage. After more than 50
productions his love of music and performance led him to small piano store in St. George Utah where he
combined story telling with enrolling people into music making.
In 2011, playing with video and Social Media, Tony was key in launching The Piano Guys YouTube Channel. To be
excellent in his new craft of video production, Tony received a B.S. Degree in Digital Film Production from Dixie
State University in 2013 which adds to his repertoire of talents. Talents he uses to enroll people into their own
story, vision, and purpose.
Because of Tony’s passion for learning the art of enrollment and personal development he has studied and trained
with some of the most well-known personal educators and facilitators from around the country, such as; Tom
Hopkins, Zig Ziglar, Brian Tracy and John Maxwell. Tony recognizes the behind every person is a story, likewise
products and services that enhance our lives are created through stories. Magic happens when stories merge and
fulfillment in life is achieved.
After training with Michael Gardner, Tony’s story telling took on a whole new meaning. “Life is a story, the human
story. Most peoples make up victim stories that get in the way who they truly are. Once we start recognizing the
truth of our story, we can then finish our story.”
Tony is energetic, enthusiastic and driven by people's success in life. He has comprehensive experience in human
relations inside and outside the retail and services arena. He is characterized as considerate, dependable,
honest, straightforward, hard-working, and personable, with strong management skills, including sales, marketing
and customer relationship management experience develop throughout the last 25 years.
Tony offers a combination of creative talents and a strong personal experience with people from all walks of life.
He devotes time to people while drawing on their energy, experiences and vision to make a positive contribution in
peoples lives.
</div>
<div style="clear:both;"></div>
</div>
<div style="margin-bottom: 20px;width:80%;margin-left:auto;margin-right:auto;">
<div style="float: left; margin-top: 10px; border: 1px solid red;width:30%;">
<img src="http://www.iliveaccountable.com/mytestsite/wp-content/uploads/2016/05/mike-gardner.jpg" alt="mike-gardner" width="351" height="360" class="alignleft size-full wp-image-15669" style="margin-right: 15px; border: 1px solid #dedede; padding: 10px; -webkit-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);
-moz-box-shadow: 3px 2px 5px 0px rgba(199,199,199,1); box-shadow: 3px 2px 5px 0px rgba(199,199,199,1);"/>
</div>
<div style="float: right; margin-top: 11px; border: 1px solid red;width:60%;">
<h3>MICHAEL GARDNER / CHIEF EXECUTIVE OFFICER</h3>
<p>Michael Gardner is known as the Master Trainer.</p>
<p>Michael is able to train students at a new depth of knowledge that they have not experienced before, their lives
truly changed. They are able to create a passion for life and newfound wealth. Gifted would be an understatement
in referring to Michael Gardner.</p>
<p>Michael has spent the past 25 years challenging and inspiring over 10,000 people to discover that they are more
powerful than they believe. As a result, he is the premier trainer and coach and his field. Michael's direct
approach, results driven training and coaching has been experienced by CEOs, entrepreneurs, small business
owners, network marketing founders and distributors, athletes, entertainers, students and parents, and anyone
who has a desire to discover they are more powerful than they believe.
Michael has one purpose and one purpose only. That is to support his students to get what they want and more.
His students and clients discover that Michael is very direct, honest and focused. His passion is to change and
support them in their pursuits of self discovery.
Michael has a unique ability to point out the lies and stories people tell themselves to justify where they have fallen short. Even those who have achieved amazing levels of success in life are surprised by how much greater the
results they create are as a result of participating in Michael's training. Past students and clients share a greater sense of power in their lives, as well as becoming more effective in their careers, and a greater sense of peace and fulfillment in their lives.
The main focus of Michael's training and coaching are: accountability, commitment, current pension, honesty,
integrity and trust.
Whether you feel you are successful in your personal life or not, whether you feel you are already fulfilled and life is good, you will benefit exponentially to Michael's training and coaching.
If you are serious about shifting in your life, getting honest about where you are, what is in your way and are
committed to accelerate your life to new levels, then Michael and iLiveAccountable trainings are the perfect fit for you.</p>
</div>
<div style="clear: both;"> </div>
</div>
以上代码只是解决你的问题。但是每当你使用 float 或制作结构时,请尝试将它们绑定(bind)在父 div 中,然后根据它们进行操作。
我所做的是,我绑定(bind)了你的 2 个具有 float (左和右)的 div,然后我给出了宽度,因为 div 是 block 元素,它将占据全宽,所以给它们固定宽度(以 px 或 % 为单位)和然后使用 float 使它们排成一行。 (但在上面的代码中,图像将覆盖文本,因为我没有让它们响应)。还尝试在 float 元素之后和容器中都使用 clear,否则会产生问题。希望它会有所帮助。如果您有任何问题,请告诉我:)
关于html - float 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37247987/
大家好, 我看到了来自 java 项目中的 jsp 页面。 想问一下这些html标签有什么区别。 请多多指教。 示例代码如下: 最佳答案 使用struts-html标签库,其中只是普
我有一个页面,我正在从电子邮件中读取 HTML。 有时,来自电子邮件的文本包含 HTML 和 CSS,它完全改变了我的页面样式。 我不希望我的页面样式因此受到影响。我如何严格阅读特定 div(框)内的
我知道有类似的问题,但我想对我的特定代码进行一些输入。 我有一个图像,我将其切成 9 块,并创建了一个 3x3 HTML 表来显示它。 但是我的表在行之间有空格,但在列之间没有空格。我没有使用任何 C
编辑:Waylan 的回答成功了!谢谢! 我正在尝试压缩文档的 .html 文件以发送给客户。目标是获得与浏览实际网站相同的体验。 打开 .html 文件时,单击的任何链接都会转到父文件夹,而不是特定
编辑:Waylan 的回答成功了!谢谢! 我正在尝试压缩文档的 .html 文件以发送给客户。目标是获得与浏览实际网站相同的体验。 打开 .html 文件时,单击的任何链接都会转到父文件夹,而不是特定
这是 question 的扩展.我正在尝试解析嵌入在 Blogger 博客的 XML 备份中的 HTML 片段,并用 InDesign 标签重新标记它们。 Blogger 并未对其任何帖子的 HTML
我知道在 html 中元素之间的换行符被视为空格,但我认为当您尝试使用响应式布局时这非常可怕。 例如,这里我们有预期和正确的行为,但要获得它,我必须删除元素之间的 html 中的换行符: https:
我正在尝试将文本文件显示为 html。我正在使用 ionic 。我正在发送一个 html 格式的响应,但在一个文本文件中发送到配置文件页面。它在 .ts 页面的变量名中。 @Component({
假设我有一个 html 文档: test 我想在浏览器中显示该代码。然后我会创建类似的东西: <html>test<html> 为了在中间制作 gubbins,我有一个函数
HTML 元素和 HTML 标签有什么区别?渲染有什么区别吗?使用标签或元素时有什么特殊注意事项吗? 最佳答案 是一个标签,特别是一个开始标签 也是一个标签,一个结束标签 This is a para
我有这个表格的模态形式。该表正在填充大量数据,但我不想分页。相反,我想以模式形式降低表格的高度并为表格添加溢出。下面是我的代码,但它不起作用。 请问我该如何实现? CSS #table{
我记得有一个 Linux 命令可以从给定的 URL 返回 HTML 代码。您可以将 URL 作为此命令的参数,然后返回 HTML 代码,而不是在浏览器中输入 URL。 哪个命令执行此操作? 最佳答案
我有一个 html 页面,我想在其中包含另一个有很多链接的 html 页面。我能够使用 iframe 实现它,但我希望 iframe 内的页面具有与原始页面相同的文本和链接颜色属性,我不想要滚动条,我
我正在使用 HTML 写一本书。如果我把它写在一个 html 文件中,整个代码就会变长,所以我想将每一章保存到不同的文件中,然后将它们加载到主 html 中。我的意思是有像 chapter1.html
在显示之前,我必须将一个网站重定向到另一个网站。我试过使用 .htaccess,但它给我带来了问题。我也使用过 javavscript 和 meta,但在加载我要从中传输的页面之前它不起作用。帮助?
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 7 年前。
如何打印“html”标签,包括“”?如何在不使用文本区域和 Javascript 的情况下对任何标签执行此操作? 最佳答案 使用HTML character references : <html
我需要将 Ruby on Rails 应用程序中的 html.slim 文件转换为 html.erb。有什么简单的方法吗?我尝试了 Stack Overflow 和其他网站中列出的许多选项。但对我没有
这个问题在这里已经有了答案: Is it necessary to write HEAD, BODY and HTML tags? (6 个答案) 关闭 8 年前。 我在 gitHub 上找到了这个
如果不允许通过 JavaScript 进行额外的 DOM 操作,我正在寻找可以加载外部资源的元素列表。我正在尝试使用 HTML 查看器托管来自第三方的电子邮件,当发生这种情况时,我需要删除任何自动加载
我是一名优秀的程序员,十分优秀!