octocatstartv

Troubleshooting CSS

A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

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

Want a Run Button?

If active, the preview will update automatically when you change code.

            
              <!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>Test Page 1</title>
        <link href="test1.css" rel="stylesheet" />
    </head>
    <body>
        <div>
            <img src="pic.jpg" alt="nusheen_pic" height="100" width="100" style="float: right;"/>
            <p>At nusheen's, hairstyle is our art.
            We make a commitment to professional hair treatment and design.
            Every individual is unique and requires an assessment by our staff.
            Consultation with the client is essential to determine the most appropriate design.
            Elegance and Style are the focus of this unique studio.
            All people are beautiful, but our craft allows the inner beauty to be enhanced and presented in the most effective way.</p>
        </div>
    </body>
</html>
            
          
!
            
              div {
  position: relative;  
  margin-top: 150px; 
  margin-right: 75px; 
  margin-bottom: 400px; 
  margin-left: 300px; 
  border: solid black; 
  background: black; 
  color: white; 
  font-size: 40px; 
  text-align:justify
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console