Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html>
  <head>
    <title id="mainTitle">
      Alexander Fleming
    </title>
      <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <script>
      $document.ready(function(){
        
      })
    </script>
  </head>
  <body>
    <div id="body">
    <div class="insideBody" id="mainBody">
      <div class="center-text" id="header">
        <h1 id="htitle center-text">Alexander Fleming</h1>
      </div>
      <div id="description">
        <h3 class="center-text" id="hdesc center-text">The man who saved millions</h3>
      </div>
      <div class="image-box center-text" id="imagebox">
      <div id="image">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Synthetic_Production_of_Penicillin_TR1468.jpg/220px-Synthetic_Production_of_Penicillin_TR1468.jpg" alt="alexanderFlemingPicture"></img>
    </div>
    <div id"imgdesc">
      <p> The man who discovered the world's first antibiotic</p>
      </p>
    </div>
    </div>
  <div id="awards">
    <h3 class="center-text" id="awardTitle center-text">Awards and Honours</h3>
    <div>
    <ul id="list">
      <li class="pad-left" id="bullets">
        Fleming, Florey and Chain jointly received the Nobel Prize in Medicine in 1945. According to the rules of the Nobel committee a maximum of three people may share the prize. Fleming's Nobel Prize medal was acquired by the National Museums of Scotland in 1989 and is on display after the museum re-opened in 2011.
      </li>
      <li class="pad-left" id="bullets">
        Fleming was a member of the Pontifical Academy of Sciences.
      </li>
      <li class="pad-left" id="bullets">
        Fleming was elected a Fellow of the Royal Society (FRS) in 1943
      </li>
      <li class="pad-left" id="bullets">
        Fleming was awarded the Hunterian Professorship by the Royal College of Surgeons of England.
      </li>
      
      
    </ul>
    </div>
      </div>
  <div class="center-text" id="quotes">
    <p id="quote">  It is the lone worker who makes the first advance in a subject; the details may be worked out by a team, but the prime idea is due to enterprise, thought, and perception of an individual.
    </p>
    <p id="credit">
      -Alexander Fleming
    </p>
  </div>
  <div class="center-text" id="wiki">
    <h4>If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Alexander_Fleming">Wikipedia entry.</a></h4>
    <br>
  </div>
  
  </div>
  </div>
  </body>
<footer class="center-text">
  <hr>
  <p id="footer">
  Written and coded by Lelouch Britatnia.
  </p>
</footer>
</html>
              
            
!

CSS

              
                .insideBody{
  margin: auto;
  border-radius: 25px;
  background-color: rgb(192,192,192);
}
.center-text{
  text-align: center;
}
.image-box{
  max-height: 400px;
  width: 400px;
  margin: auto;
  background-color: white;
  border-radius:25px;
 
}

ul li  {
 list-style-position:inside
}

.pad-left{
  padding-left: 100 !important;
}
              
            
!

JS

              
                
              
            
!
999px

Console