简体   繁体   English

我将html,body和container div设置为100%高度,但页面顶部仍然有空隙吗?

[英]I have html,body and container div set to 100% height yet there is still a gap at top of page?

@charset "utf-8";

html {
height:100%;

} }

body {
background-color:#000000;
height:100%;
}

img
{  border-style: none;
}

container {
background: #EEE;
position:relative;
width:763px;
margin:auto;
min-height:100%;
border-right: 2px solid #0F0;
border-left: 2px solid #0F0; position:inherit;}

whats the deal guys? 那些家伙怎么办? is it cause of the utf-8 i read it can leave a no width vertical gap, idk kinda shooting in the dark. 是因为我读过utf-8的原因,它会在垂直方向留下空白宽度,idk有点在黑暗中射击。

You have set the content height to 100%, but not removed the default margin (or padding in some browsers). 您已将内容高度设置为100%,但未删除默认边距(在某些浏览器中为空白)。 This means that the content is the height of the viewport, and you get scrollbars so you can reach the bottom of it. 这意味着内容是视口的高度,您将获得滚动条,以便可以到达其底部。

Set: 组:

html, 
body { 
    margin: 0;
    padding: 0;
}

to remove the default margin/padding. 删除默认的边距/填充。

这<div class="“container”">即使 html、body 和 div 设置为 height=100%,高度也不会填满整个页面</div><div id="text_translate"><p>我现在正在建立一个致敬页面。 我一直在设置 html,body 和 height=100%,但是当我检查它时,只有 HTML 和 body 标签高度填满了浏览器的整个页面,而 div 元素没有。 我认为这使我的时间线内容溢出。 我能知道我该如何解决吗?</p><p> 另外,页面没有响应,我能知道我该如何解决这个问题吗? 我是 HTML 和 css 的初学者,所以可能需要一些指导......提前谢谢。 </p><p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"><div class="snippet-code"><pre class="snippet-code-css lang-css prettyprint-override"> /* universal setting */ *{ padding: 0; margin: 0; } /* introduction */.introduction{ background: #f9f9f9; padding-bottom: 10px; }.Elon-Musk-photo img{ width: 110px; height: 110px; border-radius: 100%; float: left; margin: 0 20px 20px 20px; }.Name{ text-align: center; margin-bottom: 10px; }.introduction-description p{ font-size: 16px; }.des2 h2{ width: 100%; text-align: center; font-size: 30px; font-family: "Coda Caption", serif; background: #dda0dd; } /* timeline */.timeline.timeline-word{ font-size: 80px; font-family: "Brush Script MT", serif; position: relative; left: 310px; width: 1000px; /*margin-right: -330px;*/ margin-top: 40px; }.timeline.timeline-content{ position: relative; left: 170px; top: 40px; font-family: Dosis, sans-serif; width: 800px; }.event-date-first-child, .event-date{ width: 120px; float: left; padding: 8px 12px 8px 8px; text-align: center; clear: left; border-top: 1px solid #ccc; font-weight: bold; }.event-des-first, .event-des{ width: 625px; float: left; background: #f9f9f9; padding: 8px 12px 8px 8px; border-top: 3px solid #ccc; border-left: 1px solid #ccc; border-right: 2px solid #ccc; line-height: 26px; } /* About */.about{ /*display: inline-block;*/ position: absolute; right: 150px; text-align: center; font-family: Dosis, sans-serif; }.about th img{ display: block; width: 270px; height: 210px; margin: 10px auto; border-radius: 15px; }.about #about-word{ font-size: 35px; font-family: "Montserrat", sans-serif; }.about th{ font-weight: bold; font-size: 15px; }.about td{ padding: 10px; background: #f9f9f9; border-bottom: 1px solid #ccc; font-size: 14px; width: 190px; } /* Footer */ html, body, .container{ min-height: 100%; }.content{ padding-bottom: 50px; }.footer{ margin-top: -50px; /*position: absolute;*/ height: 50px; clear: both; text-align: center; background: #dda0dd; font-size: 18px; padding-top: 18px; }</pre><pre class="snippet-code-html lang-html prettyprint-override"> &lt;:DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;title&gt;Elon Musk&lt;/title&gt; &lt;link href="https.//fonts.googleapis?com/css2:family=Dosis;wght@400:700&amp;display=swap" rel="stylesheet"&gt; &lt;link href="https.//fonts.googleapis?com/css2:family=Coda+Caption:wght@800&amp;display=swap" rel="stylesheet"&gt; &lt;link href="https.//fonts.googleapis?com/css2:family=Montserrat&amp;display=swap" rel="stylesheet"&gt; &lt;link href="https.//fonts.googleapis?com/css2.family=Potta+One&amp;display=swap" rel="stylesheet"&gt; &lt;link href="helloworld:css" rel="stylesheet" type="text/css"&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="container"&gt; &lt;header class="header"&gt; &lt;nav&gt; &lt;ul&gt; &lt;li&gt; &lt;a href= "#introduction"&gt;Introduction&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#timeline"&gt;Timeline&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#about"&gt;About&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;/header&gt; &lt;div class="introduction" id="introduction"&gt; &lt;hr&gt; &lt;br&gt; &lt;div class="Elon-Musk-photo"&gt; &lt;img src="https.//www.biography.com/.image/t_share/MTY2MzU3Nzk2OTM2MjMwNTkx/elon_musk_royal_society.jpg" alt="Elon Musk photo"&gt; &lt;/div&gt; &lt;div class="Name"&gt; &lt;h1&gt;Elon Musk&lt;/h1&gt; &lt;/div&gt; &lt;div class="introduction-description"&gt; &lt;p&gt; Elon Musk is a South African-born American entrepreneur and businessman who founded X,com in 1999 (which later became PayPal). SpaceX in 2002 and Tesla Motors in 2003, Musk became a multimillionaire in his late 20s when he sold his start-up company, Zip2. to a division of Compaq Computers, Musk made headlines in May 2012. when SpaceX launched a rocket that would send the first commercial vehicle to the International Space Station. He bolstered his portfolio with the purchase of SolarCity in 2016 and cemented his standing as a leader of industry by taking on an advisory role in the early days of President Donald Trump's administration, In January 2021. Musk reportedly surpassed Jeff Bezos as the wealthiest man in the world. &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="des2"&gt; &lt;h2&gt;The world's smartest and richest man,&lt;/h2&gt; &lt;/div&gt; &lt;div class="timeline" id="timeline"&gt; &lt;div class="timeline-word"&gt; &lt;h1&gt;Timeline&lt;/h1&gt; &lt;/div&gt; &lt;div class="timeline-content"&gt; &lt;div class="year"&gt; &lt;div class="event-date-first-child"&gt; &lt;p&gt;28 June 1971&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des-first child&gt;"&gt; &lt;p&gt;Musk was born on June 28, 1971, in Pretoria. South Africa, He is the son of Maye Musk, a model and dietitian from Regina, Saskatchewan, Canada, and Errol Musk, a South African electromechanical engineer. pilot and sailor.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1980&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;His parents were divorced in 1980,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1981&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;At the age of 10. he developed an interest in computing with the Commodore VIC-20 and taught himself computer programming, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1983&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;By the age of 12, Musk sold the code of a BASIC-based video game he created called Blastar, to a magazine called PC and Office Technology. for approximately $500,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;June 1989&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;At the age of 17, in June 1989, Elon Musk moved to Canada to attend Queen's University. avoiding mandatory service in the South African military, His plan was to go United States where he thought great things are possible. more than any other country. And it would be easy to get to the United States from Canada,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1992&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;He left Queen's University in 1992 to study business and physics at the University of Pennsylvania. and graduated with an undergraduate degree in economics and stayed for a second bachelor's degree in physics,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1995&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 1995, Musk and his brother, Kimbal, started Zip2. a web software company which developed and marketed an Internet city guide for the newspaper publishing industry. The company raised money from a small group of angel investors.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;February 1999&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Compaq acquired Zip2 for US$307 million in cash and US$34 million in stock options in February 1999. Musk received US$22 million for his 7 percent share from the sale,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;March 1999&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In March 1999. Musk co-founded X,com, an online financial services and e-mail payment company. with US$10 million from the sale of Zip2.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2000&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;X,com merged with Confinity. which had a money-transfer service called PayPal and Musk became the CEO and company's largest shareholder by owning 11.7% of shares. The merged company focused on the PayPal service and was later renamed PayPal. PayPal's early growth was driven mainly by a viral marketing campaign where new customers were recruited when they received money through the service, Musk met his first wife, Canadian author Justine Wilson. while both were students at Ontario's Queen's University. They married in 2000, Their first son, Nevada Alexander Musk. died of sudden infant death syndrome (SIDS) at the age of 10 weeks,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;October 2000&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk was ousted in October 2000 from his role as CEO of PayPal (although he remained on the board) due to disagreements with other company leadership. notably over his desire to move PayPal's Unix-based infrastructure to Microsoft Windows, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2001&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2001, Musk conceptualized Mars Oasis, a project to land a miniature experimental greenhouse on Mars, containing food crops growing on Martian regolith. in an attempt to regain public interest in space exploration, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;October 2001&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In October 2001, Musk travelled to Moscow with Jim Cantrell (an aerospace supplies fixer), and Adeo Ressi (his best friend from college). to buy refurbished Dnepr Intercontinental ballistic missiles (ICBMs) that could send the envisioned payloads into space; The group met with companies such as NPO Lavochkin and Kosmotras, however, according to Cantrell, Musk was seen as a novice and was consequently spat on by one of the Russian chief designers. and the group returned to the United States empty-handed,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;February 2002&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In February 2002, the group returned to Russia to look for three ICBMs. bringing along Mike Griffin, Griffin had worked for the CIA's venture capital arm, In-Q-Tel, as well as NASA's Jet Propulsion Laboratory, and was just leaving Orbital Sciences. a maker of satellites and spacecraft, The group met again with Kosmotras; and were offered one rocket for US$8 million, however; this was seen by Musk as too expensive. Musk consequently stormed out of the meeting, On the flight back from Moscow. Musk realized that he could start a company that could build the affordable rockets he needed,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;May 2002&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk founded Space Exploration Technologies, or SpaceX. in May 2002 with US$100 million of his early fortune. Musk became the chief executive officer (CEO) and chief technology officer (CTO). SpaceX develops and manufactures space launch vehicles with a focus on advancing the state of rocket technology, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;October 2002&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In October 2002. PayPal was acquired by eBay for US$1,5 billion in stock. of which Musk received US$165 million, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;July 2003&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Tesla. Inc, (originally Tesla Motors) was incorporated in July 2003 by Martin Eberhard and Marc Tarpenning. who financed the company until the Series A round of funding,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2004&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk and his wife had 2 sons, twins. through in vitro fertilization, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;February 2004&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk led the Series A round of investment for Tesla in February 2004. joined Tesla's board of directors as its chairman, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2006&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk and his wife had other 3 sons, triplets. through in vitro fertilization, Musk provided the initial concept and financial capital for SolarCity. which was then co-founded in 2006 by his cousins Lyndon and Peter Rive, From 2006. SpaceX got various contracts from NASA to transport cargo and astronauts to the International Space Station,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2007&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Following the financial crisis in 2008 and after a series of escalating conflicts in 2007. Eberhard was ousted from the firm. Musk assumed leadership of the company as CEO and product architect.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2008&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk and his wife Justine were separated. They share custody of their five sons,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2010&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2008, Musk began dating English actress Talulah Riley, and in 2010. the couple married, In January 2012, Musk announced that he had ended his four-year relationship with Riley, tweeting to Riley. "It was an amazing four years. I will love you forever. You will make someone very happy one day," In July 2013. Musk and Riley remarried, In December 2014; Musk filed for a second divorce from Riley, however. the action was withdrawn, The media announced in March 2016 that divorce proceedings were again under way. this time with Riley filing for divorce from Musk. The divorce was finalized in late 2016,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2010&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2010, the Musk Foundation collaborated with SolarCity to donate a 25-kW solar power system to the South Bay Community Alliance's hurricane response center in Coden. Alabama,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2011&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In a 2011 interview. he said he hopes to send humans to Mars' surface within 10–20 years, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;July 2011&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt; In July 2011, the Musk Foundation donated US$250,000 towards a solar power project in Sōma, Japan. a city that had been recently devastated by a tsunami.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2012&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;The underlying motivation for funding both SolarCity and Tesla was to help combat global warming, In 2012, Musk announced that SolarCity and Tesla are collaborating to use electric vehicle batteries to smooth the impact of rooftop solar on the power grid. with the program going live in 2013,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;25 May 2012&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;On May 25, 2012, the SpaceX's vehicle, Dragon docked with the International Space Station (ISS). making history as the first commercial company to launch and berth a vehicle to the International Space Station,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2013&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;By 2013. SolarCity was the second largest provider of solar power systems in the United States.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;May 2013&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk had been a supporter of the US political action committee (PAC) FWD,us. which was started by fellow high-profile entrepreneur Mark Zuckerberg and advocates for immigration reform, However, in May 2013. Musk publicly withdrew his support in protest of advertisements the PAC was running that supported causes like the Keystone Pipeline, Musk and other members. including David O, Sacks, pulled out. criticizing the strategy as "cynical," Musk further stated. "we shouldn't give in to the politics, If we give in to that. we'll get the political system we deserve,"&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;12 August 2013&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;On August 12, 2013. Musk unveiled a concept for a high-speed transportation system incorporating reduced-pressure tubes in which pressurized capsules ride on an air cushion driven by linear induction motors and air compressors, The mechanism for releasing the concept was an alpha-design document that, in addition to scoping out the technology: outlined a notional route where such a transport system might be built. between the Greater Los Angeles Area and the San Francisco Bay Area,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2014&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2014. Musk announced that Tesla would allow its technology patents to be used by anyone in good faith in a bid to entice automobile manufacturers to speed up development of electric cars,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;17 June 2014&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;On June 17, 2014, Musk committed to building a SolarCity advanced production facility in Buffalo, New York. that would triple the size of the largest solar plant in the United States, Musk stated the plant will be "one of the single largest solar panel production plants in the world." and it will be followed by one or more even bigger facilities in subsequent years, The Tesla Gigafactory 2 is a photovoltaic (PV) cell factory, leased by Tesla subsidiary SolarCity in Buffalo. New York. Construction on the factory started in 2014 and was completed in 2017,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;January 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In January 2015; Musk made a guest appearance playing himself on The Simpsons in an episode titled "The Musk Who Fell to Earth". the episode poked fun at many of Musk's ideas,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;January 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk donated US$10 million to the Future of Life Institute in January 2015. to run a global research program aimed at keeping artificial intelligence beneficial to humanity,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;June 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In June 2015. Musk announced a design competition for students and others to build Hyperloop pods to operate on a SpaceX-sponsored mile-long track in a 2015–2017 Hyperloop pod competition, The track was used in January 2017. and Musk also started building a tunnel,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;November 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In November 2015, Musk appeared in an episode of The Big Bang Theory, playing himself. volunteering at a soup kitchen with Wolowitz,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;December 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In December 2015, Musk announced the creation of OpenAI. a not-for-profit artificial intelligence (AI) research company. OpenAI aims to develop artificial general intelligence in a way that is safe and beneficial to humanity:&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="about" id="about"&gt; &lt;table&gt; &lt;tbody&gt; &lt;tr&gt; &lt;th colspan="2" id="about-word"&gt;About &lt;img src="https.//static.theceomagazine.net/wp-content/uploads/2018/10/15093202/elon-musk-1100x733,jpg" alt="Elon Musk photo"&gt;&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Born &lt;/th&gt; &lt;td&gt; Elon Reeve Musk June 28, 1971 (age 49) Pretoria, South Africa &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Occupation &lt;/th&gt; &lt;td&gt; Entrepreneur, Industrial designer. Engineer &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Spouse(s) &lt;/th&gt; &lt;td&gt; &lt;p&gt;Justine Wilson (m; 2000. div. 2008)&lt;/p&gt; &lt;p&gt;Talulah Riley (m; 2010. div. 2012) (m; 2013. div; 2016)&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Children &lt;/th&gt; &lt;td&gt; 7 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Parents &lt;/th&gt; &lt;td&gt; &lt;p&gt;Errol Musk (father)&lt;/p&gt; &lt;p&gt;Maye Musk (mother)&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; &lt;footer class="footer"&gt; &lt;p&gt;&amp;copy; Copyright Created by Durian&lt;/p&gt; &lt;/footer&gt; &lt;/body&gt; &lt;/html&gt;</pre></div></div><p></p></div> - The <div class=“container”> height does not fill the whole page even when html, body and div are set to height=100%

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 这<div class="“container”">即使 html、body 和 div 设置为 height=100%,高度也不会填满整个页面</div><div id="text_translate"><p>我现在正在建立一个致敬页面。 我一直在设置 html,body 和 height=100%,但是当我检查它时,只有 HTML 和 body 标签高度填满了浏览器的整个页面,而 div 元素没有。 我认为这使我的时间线内容溢出。 我能知道我该如何解决吗?</p><p> 另外,页面没有响应,我能知道我该如何解决这个问题吗? 我是 HTML 和 css 的初学者,所以可能需要一些指导......提前谢谢。 </p><p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"><div class="snippet-code"><pre class="snippet-code-css lang-css prettyprint-override"> /* universal setting */ *{ padding: 0; margin: 0; } /* introduction */.introduction{ background: #f9f9f9; padding-bottom: 10px; }.Elon-Musk-photo img{ width: 110px; height: 110px; border-radius: 100%; float: left; margin: 0 20px 20px 20px; }.Name{ text-align: center; margin-bottom: 10px; }.introduction-description p{ font-size: 16px; }.des2 h2{ width: 100%; text-align: center; font-size: 30px; font-family: "Coda Caption", serif; background: #dda0dd; } /* timeline */.timeline.timeline-word{ font-size: 80px; font-family: "Brush Script MT", serif; position: relative; left: 310px; width: 1000px; /*margin-right: -330px;*/ margin-top: 40px; }.timeline.timeline-content{ position: relative; left: 170px; top: 40px; font-family: Dosis, sans-serif; width: 800px; }.event-date-first-child, .event-date{ width: 120px; float: left; padding: 8px 12px 8px 8px; text-align: center; clear: left; border-top: 1px solid #ccc; font-weight: bold; }.event-des-first, .event-des{ width: 625px; float: left; background: #f9f9f9; padding: 8px 12px 8px 8px; border-top: 3px solid #ccc; border-left: 1px solid #ccc; border-right: 2px solid #ccc; line-height: 26px; } /* About */.about{ /*display: inline-block;*/ position: absolute; right: 150px; text-align: center; font-family: Dosis, sans-serif; }.about th img{ display: block; width: 270px; height: 210px; margin: 10px auto; border-radius: 15px; }.about #about-word{ font-size: 35px; font-family: "Montserrat", sans-serif; }.about th{ font-weight: bold; font-size: 15px; }.about td{ padding: 10px; background: #f9f9f9; border-bottom: 1px solid #ccc; font-size: 14px; width: 190px; } /* Footer */ html, body, .container{ min-height: 100%; }.content{ padding-bottom: 50px; }.footer{ margin-top: -50px; /*position: absolute;*/ height: 50px; clear: both; text-align: center; background: #dda0dd; font-size: 18px; padding-top: 18px; }</pre><pre class="snippet-code-html lang-html prettyprint-override"> &lt;:DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;title&gt;Elon Musk&lt;/title&gt; &lt;link href="https.//fonts.googleapis?com/css2:family=Dosis;wght@400:700&amp;display=swap" rel="stylesheet"&gt; &lt;link href="https.//fonts.googleapis?com/css2:family=Coda+Caption:wght@800&amp;display=swap" rel="stylesheet"&gt; &lt;link href="https.//fonts.googleapis?com/css2:family=Montserrat&amp;display=swap" rel="stylesheet"&gt; &lt;link href="https.//fonts.googleapis?com/css2.family=Potta+One&amp;display=swap" rel="stylesheet"&gt; &lt;link href="helloworld:css" rel="stylesheet" type="text/css"&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="container"&gt; &lt;header class="header"&gt; &lt;nav&gt; &lt;ul&gt; &lt;li&gt; &lt;a href= "#introduction"&gt;Introduction&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#timeline"&gt;Timeline&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="#about"&gt;About&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;/header&gt; &lt;div class="introduction" id="introduction"&gt; &lt;hr&gt; &lt;br&gt; &lt;div class="Elon-Musk-photo"&gt; &lt;img src="https.//www.biography.com/.image/t_share/MTY2MzU3Nzk2OTM2MjMwNTkx/elon_musk_royal_society.jpg" alt="Elon Musk photo"&gt; &lt;/div&gt; &lt;div class="Name"&gt; &lt;h1&gt;Elon Musk&lt;/h1&gt; &lt;/div&gt; &lt;div class="introduction-description"&gt; &lt;p&gt; Elon Musk is a South African-born American entrepreneur and businessman who founded X,com in 1999 (which later became PayPal). SpaceX in 2002 and Tesla Motors in 2003, Musk became a multimillionaire in his late 20s when he sold his start-up company, Zip2. to a division of Compaq Computers, Musk made headlines in May 2012. when SpaceX launched a rocket that would send the first commercial vehicle to the International Space Station. He bolstered his portfolio with the purchase of SolarCity in 2016 and cemented his standing as a leader of industry by taking on an advisory role in the early days of President Donald Trump's administration, In January 2021. Musk reportedly surpassed Jeff Bezos as the wealthiest man in the world. &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="des2"&gt; &lt;h2&gt;The world's smartest and richest man,&lt;/h2&gt; &lt;/div&gt; &lt;div class="timeline" id="timeline"&gt; &lt;div class="timeline-word"&gt; &lt;h1&gt;Timeline&lt;/h1&gt; &lt;/div&gt; &lt;div class="timeline-content"&gt; &lt;div class="year"&gt; &lt;div class="event-date-first-child"&gt; &lt;p&gt;28 June 1971&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des-first child&gt;"&gt; &lt;p&gt;Musk was born on June 28, 1971, in Pretoria. South Africa, He is the son of Maye Musk, a model and dietitian from Regina, Saskatchewan, Canada, and Errol Musk, a South African electromechanical engineer. pilot and sailor.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1980&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;His parents were divorced in 1980,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1981&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;At the age of 10. he developed an interest in computing with the Commodore VIC-20 and taught himself computer programming, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1983&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;By the age of 12, Musk sold the code of a BASIC-based video game he created called Blastar, to a magazine called PC and Office Technology. for approximately $500,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;June 1989&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;At the age of 17, in June 1989, Elon Musk moved to Canada to attend Queen's University. avoiding mandatory service in the South African military, His plan was to go United States where he thought great things are possible. more than any other country. And it would be easy to get to the United States from Canada,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1992&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;He left Queen's University in 1992 to study business and physics at the University of Pennsylvania. and graduated with an undergraduate degree in economics and stayed for a second bachelor's degree in physics,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;1995&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 1995, Musk and his brother, Kimbal, started Zip2. a web software company which developed and marketed an Internet city guide for the newspaper publishing industry. The company raised money from a small group of angel investors.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;February 1999&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Compaq acquired Zip2 for US$307 million in cash and US$34 million in stock options in February 1999. Musk received US$22 million for his 7 percent share from the sale,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;March 1999&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In March 1999. Musk co-founded X,com, an online financial services and e-mail payment company. with US$10 million from the sale of Zip2.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2000&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;X,com merged with Confinity. which had a money-transfer service called PayPal and Musk became the CEO and company's largest shareholder by owning 11.7% of shares. The merged company focused on the PayPal service and was later renamed PayPal. PayPal's early growth was driven mainly by a viral marketing campaign where new customers were recruited when they received money through the service, Musk met his first wife, Canadian author Justine Wilson. while both were students at Ontario's Queen's University. They married in 2000, Their first son, Nevada Alexander Musk. died of sudden infant death syndrome (SIDS) at the age of 10 weeks,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;October 2000&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk was ousted in October 2000 from his role as CEO of PayPal (although he remained on the board) due to disagreements with other company leadership. notably over his desire to move PayPal's Unix-based infrastructure to Microsoft Windows, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2001&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2001, Musk conceptualized Mars Oasis, a project to land a miniature experimental greenhouse on Mars, containing food crops growing on Martian regolith. in an attempt to regain public interest in space exploration, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;October 2001&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In October 2001, Musk travelled to Moscow with Jim Cantrell (an aerospace supplies fixer), and Adeo Ressi (his best friend from college). to buy refurbished Dnepr Intercontinental ballistic missiles (ICBMs) that could send the envisioned payloads into space; The group met with companies such as NPO Lavochkin and Kosmotras, however, according to Cantrell, Musk was seen as a novice and was consequently spat on by one of the Russian chief designers. and the group returned to the United States empty-handed,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;February 2002&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In February 2002, the group returned to Russia to look for three ICBMs. bringing along Mike Griffin, Griffin had worked for the CIA's venture capital arm, In-Q-Tel, as well as NASA's Jet Propulsion Laboratory, and was just leaving Orbital Sciences. a maker of satellites and spacecraft, The group met again with Kosmotras; and were offered one rocket for US$8 million, however; this was seen by Musk as too expensive. Musk consequently stormed out of the meeting, On the flight back from Moscow. Musk realized that he could start a company that could build the affordable rockets he needed,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;May 2002&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk founded Space Exploration Technologies, or SpaceX. in May 2002 with US$100 million of his early fortune. Musk became the chief executive officer (CEO) and chief technology officer (CTO). SpaceX develops and manufactures space launch vehicles with a focus on advancing the state of rocket technology, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;October 2002&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In October 2002. PayPal was acquired by eBay for US$1,5 billion in stock. of which Musk received US$165 million, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;July 2003&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Tesla. Inc, (originally Tesla Motors) was incorporated in July 2003 by Martin Eberhard and Marc Tarpenning. who financed the company until the Series A round of funding,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2004&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk and his wife had 2 sons, twins. through in vitro fertilization, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;February 2004&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk led the Series A round of investment for Tesla in February 2004. joined Tesla's board of directors as its chairman, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2006&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk and his wife had other 3 sons, triplets. through in vitro fertilization, Musk provided the initial concept and financial capital for SolarCity. which was then co-founded in 2006 by his cousins Lyndon and Peter Rive, From 2006. SpaceX got various contracts from NASA to transport cargo and astronauts to the International Space Station,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2007&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Following the financial crisis in 2008 and after a series of escalating conflicts in 2007. Eberhard was ousted from the firm. Musk assumed leadership of the company as CEO and product architect.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2008&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk and his wife Justine were separated. They share custody of their five sons,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2010&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2008, Musk began dating English actress Talulah Riley, and in 2010. the couple married, In January 2012, Musk announced that he had ended his four-year relationship with Riley, tweeting to Riley. "It was an amazing four years. I will love you forever. You will make someone very happy one day," In July 2013. Musk and Riley remarried, In December 2014; Musk filed for a second divorce from Riley, however. the action was withdrawn, The media announced in March 2016 that divorce proceedings were again under way. this time with Riley filing for divorce from Musk. The divorce was finalized in late 2016,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2010&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2010, the Musk Foundation collaborated with SolarCity to donate a 25-kW solar power system to the South Bay Community Alliance's hurricane response center in Coden. Alabama,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2011&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In a 2011 interview. he said he hopes to send humans to Mars' surface within 10–20 years, &lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;July 2011&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt; In July 2011, the Musk Foundation donated US$250,000 towards a solar power project in Sōma, Japan. a city that had been recently devastated by a tsunami.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2012&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;The underlying motivation for funding both SolarCity and Tesla was to help combat global warming, In 2012, Musk announced that SolarCity and Tesla are collaborating to use electric vehicle batteries to smooth the impact of rooftop solar on the power grid. with the program going live in 2013,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;25 May 2012&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;On May 25, 2012, the SpaceX's vehicle, Dragon docked with the International Space Station (ISS). making history as the first commercial company to launch and berth a vehicle to the International Space Station,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2013&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;By 2013. SolarCity was the second largest provider of solar power systems in the United States.&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;May 2013&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk had been a supporter of the US political action committee (PAC) FWD,us. which was started by fellow high-profile entrepreneur Mark Zuckerberg and advocates for immigration reform, However, in May 2013. Musk publicly withdrew his support in protest of advertisements the PAC was running that supported causes like the Keystone Pipeline, Musk and other members. including David O, Sacks, pulled out. criticizing the strategy as "cynical," Musk further stated. "we shouldn't give in to the politics, If we give in to that. we'll get the political system we deserve,"&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;12 August 2013&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;On August 12, 2013. Musk unveiled a concept for a high-speed transportation system incorporating reduced-pressure tubes in which pressurized capsules ride on an air cushion driven by linear induction motors and air compressors, The mechanism for releasing the concept was an alpha-design document that, in addition to scoping out the technology: outlined a notional route where such a transport system might be built. between the Greater Los Angeles Area and the San Francisco Bay Area,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;2014&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In 2014. Musk announced that Tesla would allow its technology patents to be used by anyone in good faith in a bid to entice automobile manufacturers to speed up development of electric cars,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;17 June 2014&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;On June 17, 2014, Musk committed to building a SolarCity advanced production facility in Buffalo, New York. that would triple the size of the largest solar plant in the United States, Musk stated the plant will be "one of the single largest solar panel production plants in the world." and it will be followed by one or more even bigger facilities in subsequent years, The Tesla Gigafactory 2 is a photovoltaic (PV) cell factory, leased by Tesla subsidiary SolarCity in Buffalo. New York. Construction on the factory started in 2014 and was completed in 2017,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;January 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In January 2015; Musk made a guest appearance playing himself on The Simpsons in an episode titled "The Musk Who Fell to Earth". the episode poked fun at many of Musk's ideas,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;January 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;Musk donated US$10 million to the Future of Life Institute in January 2015. to run a global research program aimed at keeping artificial intelligence beneficial to humanity,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;June 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In June 2015. Musk announced a design competition for students and others to build Hyperloop pods to operate on a SpaceX-sponsored mile-long track in a 2015–2017 Hyperloop pod competition, The track was used in January 2017. and Musk also started building a tunnel,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;November 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In November 2015, Musk appeared in an episode of The Big Bang Theory, playing himself. volunteering at a soup kitchen with Wolowitz,&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="year"&gt; &lt;div class="event-date"&gt; &lt;p&gt;December 2015&lt;/p&gt; &lt;/div&gt; &lt;div class="event-des"&gt; &lt;p&gt;In December 2015, Musk announced the creation of OpenAI. a not-for-profit artificial intelligence (AI) research company. OpenAI aims to develop artificial general intelligence in a way that is safe and beneficial to humanity:&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="about" id="about"&gt; &lt;table&gt; &lt;tbody&gt; &lt;tr&gt; &lt;th colspan="2" id="about-word"&gt;About &lt;img src="https.//static.theceomagazine.net/wp-content/uploads/2018/10/15093202/elon-musk-1100x733,jpg" alt="Elon Musk photo"&gt;&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Born &lt;/th&gt; &lt;td&gt; Elon Reeve Musk June 28, 1971 (age 49) Pretoria, South Africa &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Occupation &lt;/th&gt; &lt;td&gt; Entrepreneur, Industrial designer. Engineer &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Spouse(s) &lt;/th&gt; &lt;td&gt; &lt;p&gt;Justine Wilson (m; 2000. div. 2008)&lt;/p&gt; &lt;p&gt;Talulah Riley (m; 2010. div. 2012) (m; 2013. div; 2016)&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Children &lt;/th&gt; &lt;td&gt; 7 &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;th&gt; Parents &lt;/th&gt; &lt;td&gt; &lt;p&gt;Errol Musk (father)&lt;/p&gt; &lt;p&gt;Maye Musk (mother)&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; &lt;footer class="footer"&gt; &lt;p&gt;&amp;copy; Copyright Created by Durian&lt;/p&gt; &lt;/footer&gt; &lt;/body&gt; &lt;/html&gt;</pre></div></div><p></p></div> - The <div class=“container”> height does not fill the whole page even when html, body and div are set to height=100% 正文和html的高度为100%,但我仍然无法在div上设置高度 - 100% height on body and html, but I still can't set height on divs 如何将body设置为100%并仍然扩展超过页面高度 - How can i set body to be 100% and still expand past page height 将HTML和正文的高度设置为100% - Set height 100% to html and body div高度为100%但顶部和/或底部仍有空间 - div height at 100% but there is space on top and/or bottom still 我如何将高度值设置为100% <aside> 在高度不超过表的容器的100%中 - How can i set height value 100% for <aside> in container with height is not 100% of body not using tables 正文页面上方的空白 - Gap on top of body page html、正文和 div 设置为 100% 宽度,但它仍然没有占用全部 100% - html, body, and div set at 100% width but it's still not taking the full 100% 将div设置为不是主体的父级的100%高度 - set div to 100% height of parent that IS NOT the body HTML正文高度100% - 仍然高度百分比不起作用 - HTML Body Height 100% - still Height in percent not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM