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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8">
       <link rel="stylesheet" type="text/css" href="http://www.babysitter-agency.com/css/base.css"/>
                         
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ></script>
        <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
  
    </head>
    <body>
        <div id="loginpostion"> </div>
        <div  id="jquerypositiontdiv">
            <div id="header"><!-- START div id header   -->
                <div id="body_header"><!-- START div id body_header   -->
                    <div id="leftpart_header"><!-- START div id  leftpart_header   -->
                        <div class="title_header" ><!-- START div id title_header  -->
                            <ul id="title_bar">
                                <li id="title101"><a href="" title="">Home Page</a></li><br /><br />
                                <li id="title202"><a href="" title=""> </a></li>
                            </ul>
                        </div><!-- END div id title_header  -->
                    </div><!-- End  div class leftpart_header   -->

                    <div id="the_rightpart">
                        <div id="upper_rightpart">
                           <div id='loginpostion'> </div>
                        </div>
                   
                        <div id="lower_rightpart">
                            <div id="search_box">
                                <form method="POST" action="">
                                    <input type="text" name="item1"  maxlength="25" id="searchfield">
                                    <input type="submit" value="sub" id="submit_button">
                                 </form>
                             </div><!-- END div id search box  --> 
                        </div><!-- END div id  lower_rightpart -->
                    </div><!-- END div id the_rightpart -->
                </div>   <!-- END div id body_header -->
            </div>  <!-- END div id header   -->
            <div id="navigationbar">
                <div id="wrappernavigation_bar" >
                	<div id="spacer"> </div>
                </div> <!-- END START div id wrappernavigation_bar -->
           </div>
            
            <div id="bluesky_background">
            <div id="spacer31_px"></div>
                <div id="middle_background">
                    <div id="dviewpagelayout">        
                    </div>     
                </div><!-- END  div id middle_background -->
            </div><!-- END div id bluesky_background -->
            <div id="lowers_body">
                <div id="lowers_body960">
                </div><!-- START div id lowers_body960 -->
            </div>
     
            <footer>
            
            <div id="footer">
                <div id="upper_topfooter">
                    <div id="body_upper_topfooter">
                        <div id="left_body_upper_topfooter">
                            <div class="imagetopfooter2" >
                                <img src="" 
                                     width="314" height="25" alt="" />
                            </div>
                            <div id="left-navigations">
                             
                            </div>

                        </div><!-- END  div id left_body_upper_footer  -->

                        <div id="right_body_upper_topfooter">
                            <div class="imagetopfooter2" >
                                <img src=""
                                     width="237" height="25" alt="" />
                            </div>

                            <div id="right-navigations">
                               
                            </div><!-- END  div id right-navigations  -->
                        </div><!-- END   div id right_body_upper_footer  -->
                    </div><!-- END  div id body_upper_footer  -->
                </div>  <!-- END div id body_upper_footer   -->
            </div>  <!-- END div id upper_footer   -->
            
            <div id="upper_footer">
                <div id="body_upper_footer">
                    <div class="body_upper_box1">
                        <img src="" width="119" height="32" />
                        <ul>  
                           
                        </ul>
                    </div><!-- 	END  div id body_upper_box1-->

                    <div class="body_upper_box2"><!-- START  div id body_upper_box2-->
                        <img src="/images/pageimages/services.png" width="96" height="26" />
                            <ul>  
                               
                            </ul>
                    </div><!-- 	END  div id body_upper_box2-->
                    <div class="body_upper_box3"><!-- START  div id body_upper_box3-->
                        <img src="/images/pageimages/guide.png" width="75" height="27" />
                        <ul>  
                          
                        </ul>

                        <img src="/images/pageimages/contact us.png" width="144" height="21" class="blocklevel  newsletter_pushdown "/>
                        <a href="../testpage1.html" ><img src="/images/socialicons/iconemai_resized.png" width="35" height="35" /> </a> 
                        <img src="/images/socialicons/iconphone_rezied.png" width="35" height="35" />
                        <a href=''  title=""> 
                            <img src="/images/socialicons/iconskype_rezied.png" width="35" height="35" />
                        <a>
                        <a href =''>
                        <img src="/images/socialicons/icon_yahoo messenger_rezied.png" width="35" height="35" /></a>
                    </div><!-- 	END  div id body_upper_box3-->

                    <div class="body_upper_box4"><!-- START  div id body_upper_box4-->
                        <img src="/images/pageimages/newsletter.png" width="127" height="26" class="blocklevel   " />
                        <ul class="newsletter_pushdown">  
                            <li> Subscribe To Our Newsletter</li>
                        </ul>

                        <div  id="newsletterdiv" >   
                            <form id="newsletter-form" name="newsletter-form" method="POST" action="/allmembersnewsletter/newsLetter">
                                <div  id="responceemail" ></div>
                                    <fieldset> 
                                        <input type="email" name="Newsletter[email]" size="20"
                                               class="default-value  text-input" id="email_newsletter"
                                               maxlength="80"  style="font-family: Tahoma; width: 200px;  height: 15pt; font-size: 12pt"
                                               value="your email address" /> <br/>  
                                        <label class="error" for="email" id="email_error">This field is required.</label><br/>
                                       
                                        <input type="hidden" id="honeypot" value="http://" name="Newsletter[honeypot]">
                                        <input type="hidden" id="humancheck" class="clear" value="" name="Newsletter[humancheck]">
                                        <input id="submitbutton" type="submit" value="Submit" name="submit" style="font-family: Arial; width: 100px;
                                               height: 20pt;font-size: 12pt">
   
                                    </fieldset> 
                            </form>
                        </div>    <!---- START OF DIV Id  FOR newsletterdiv---------->   

                        <img src="" width="153" height="23"  class="blocklevel  icontitles"  />
                        <div class="socialicons"><!-- START  div id social icons-->
                            <a href="" 
                               target="_blank"  title="">
                               <img src="" width="33" height="35" />
                            </a>

                            <a href="" target="_blank" >
                                <img src="" width="33" height="36" />
                            </a>
                            <img src="/images/socialicons/icon_linkin_resized.png" width="33" height="35" />
                                <a href="" target="_blank" >
                                    <img src="/images/socialicons/icon_youtube.png" width="40" height="40" />
                                </a>
                        </div><!-- END CLASS social icons-->
                    </div><!-- 	END  div id body_upper_box4-->
                </div><!-- 	END  div id body_upper_footer-->
            </div>  <!-- END div id upper_footer   -->

            <div id="bottom_footer"><!-- START  div id bottom_footer  -->
                <div id="body_bottom_footer"><!-- START  div id bottom_footer  -->
                    <p class="lowest_footer_left">
                        © Copyright 2012 
                    </p>
                    <h3 class="footerimage">
                        <a href="" 
                           title="" target="_blank">
                                  <span class="textmove">
                                    <strong><em> </em></strong>
                                  </span>
                                  <img src="/images/pageimages/footertitles_r11_c16_s1.jpg" 
                                       width="162" height="29" />
                        </a>
                    </h3>
                    <p class="lowest_footer_right">
                        Designed By 
                    </p>
                </div>  <!-- END div id body_bottom_footer  -->
            </div> 
           
            </footer>
       
      </div>  <!-- END div id footer   --> 
     
    </body>
</html>


              
            
!

CSS

              
                #midbody_mainpage {
    background: url("/images/pageimages/mainwindowpic.jpg") scroll 0 0 transparent ;
    height:399px;
    margin-top:0px;
    padding-top:46px;
    background-repeat:no-repeat;
}

#bluesky_background {
    background: url("/images/pageimages/imagesforsite/skybackground.jpg")no-repeat scroll 0 0 transparent;	
    height:503px;
}

#lowers_body {
    background: url("/images/pageimages/imagesforsite/background_lowerbody.jpg") scroll 0 0 transparent ;
    height:550px;	
}

 #middle_background {
    bbackground: url("/images/pageimages/imagesforsite/whiteboard960.jpg") no-repeat scroll 0 0 transparent ;
    background: #FFFFFF;  
    height:473px;
    padding-top:31px;
}

#middlepart_background {
    background: url("http://www.babysitter-agency.com/images/pageimages/imagesforsite/skybackground.jpg") top center no-repeat,  
            url("http://www.babysitter-agency.com/images/pageimages/imagesforsite/background_lowerbody.jpg") repeat;     
    min-height: 1000px;
    margin: 0;
    overflow: hidden; /* to prevent child margin collapse */
}	

#white_middle_background {
    background:#FFF;
    min-height: 873px;
    width: 960px;
    margin: 31px auto 0;
}

#spacer31_px {
    height:31px;
}

#lowers_body960 {
    background:#FFF;
    height:2500px;
}
              
            
!

JS

              
                
              
            
!
999px
If you want to flex your skills and go off the grid, try coding a layout with float.

Console