Jump to content

hchron28

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by hchron28

  1. holy crap never mind I'm blind!! hahaha Thanks!!!! Thanks again I spent so much time lol trying so many different things, was doing z-index, overflow, tried moving divs... too funny a simple missed line can cause so many problems.

  2. <!DOCTYPE html>
    <html lang="en-us">
    <head>
    <link rel="stylesheet" type="text/css" href="teststyle.css" />
    
    </head>
    <body>
    
    
    <nav><section>
    <div class="clear"></div>
    </section></nav>
    
    
    
    
    <div id="full"><section>
      <h2>London</h2>
      <p>London is the capital city of England.</p>
      <p>It is the most populous city in the United Kingdom,
      with a metropolitan area of over 13 million inhabitants.</p>
    </section>
    </div>
    <div id="city"><section>
      <h2>Paris</h2>
      <p>Paris is the capital of France.</p>
      <p>The Paris area is one of the largest population centers in Europe,
      with more than 12 million inhabitants.<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>end</p>
    </div>
    
    <div id="city">
      <h2>Tokyo</h2>
      <p>Tokyo is the capital of Japan.</p>
      <p>It is the center of the Greater Tokyo Area,
      and the most populous metropolitan area in the world.</p>
    </section></div>
    </body>
    </html>
    
    @charset "UTF-8";
    /* CSS Document */
    
    @media (min-width: 951px) {
    
    body {
    	margin: 0px auto;
    
    }
    
    nav {
         background: #1d1f21;
         position: fixed;
         top: 0;
         width: 100%;
         height: 80px;
         clear: left;
         overflow-y: hidden;
    }
    
    #full {
        position: initial;
        top: 80;
        width: 100%;
        height: 300px;
        background: red;
    }
    
    #city {
        position: initial;
        margin: auto;
        float: left;
        margin: 15px;
        padding: 15px;
        width: 300px;
        height: 300px;
        border: 1px solid black;
    }
    
    
    

    My question is why does the div 'full' set to 80px down the page and it starts directly behind the nav div? If there is a better way to post I'm happy to do it, so far this has only been a resource first time asking a direct question.

  3. I'm having a hard time making these two scripts run on the same page. I am not sure which function label is used for the .onload for each of the two script sources.

     

    Any assistance would be greatly appreciated. Thanks in advance.

    <script type="text/javascript">window.onload = function() {function 1();}</script><script type='text/javascript'>(function(d) {    var po = d.createElement('script');    po.type = 'text/javascript'; po.async = true; po.src = '//static.flnwdgt.com/build/js/hireme-sdk.js';    var s = d.getElementsByTagName('script')[0];    s.parentNode.insertBefore(po, s);})(document);</script><script type="text/javascript" defer src="//www.testimonialrobot.com/ver/latest/trobot-scr-js.php?add=false&id=mYA4NuMW&c=FFFFFF&b=trans&d=true&t=r&form=true"></script><script type="text/javascript" defer src="//www.testimonialrobot.com/tr-scroller.js"></script>

    Here is my div

    <div id="trobot"></div><br><div class='fln-hireme' data-username='hchron28' data-style='plain' data-type='badge' data-bg='' data-theme='' ></div>
  4. Hello everyone! Been making websites as a hobby since in was in middle school playing online games, now looking to get into it more prefessionally. Taught myself most of what i know from trail and error. Will be great to be apart of this community and have access to all the expertise here. Thanks! Looking forward to improving my skillz!

×
×
  • Create New...