Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to stop a div above the footer
    primarykey
    data
    text
    <p>I have read many posts about this issue, but none of them are helping aid the issue I am having. I want to get the nav_bar on the side of the page to stop right about the footer (exactly where the content div ends.) I am sorry, I am not very good with javascript/jQuery. haha</p> <p>Here is my code for the nav:</p> <pre><code>&lt;div id="section"&gt; &lt;div id="navbar"&gt; &lt;div id="navbar_contents"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;img src="images/nav_bar/nav_top.jpg" width="107" height="55" alt="top"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;img src="images/nav_bar/nav_portfolio.jpg" width="107" height="55" alt="portfolio"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;img src="images/nav_bar/nav_about.jpg" width="107" height="55" alt="about"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;img src="images/nav_bar/nav_contact.jpg" width="107" height="55" alt="contact"&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;&lt;img src="images/nav_bar/nav_resume.jpg" width="107" height="55" alt="resume"&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="content"&gt; &lt;h1&gt;THE TOP&lt;/h1&gt; &lt;div id="clear"&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>and the CSS: </p> <pre><code>#section #navbar { background-color: #FFF; height: auto; width: auto; border: 1px solid #000; float: left; -moz-box-shadow: 0px 0px 25px 2px #000000; -webkit-box-shadow: 0px 0px 25px 2px #000000; box-shadow: 0px 0px 25px 2px #000000; -webkit-border-radius: 8px; -webkit-border-bottom-right-radius: 20px; -webkit-border-bottom-left-radius: 20px; -moz-border-radius: 8px; -moz-border-radius-bottomright: 20px; -moz-border-radius-bottomleft: 20px; border-radius: 8px; border-bottom-right-radius: 20px; border-bottom-left-radius: 20px; padding-right: 23px; position: fixed; } #section #navbar #navbar_contents { width: auto; height: auto; } #section #navbar ul { list-style-type: none; } #section #content { background-color: #FFF; height: 2000px; width: 610px; border: 1px solid #000; float: left; margin-left: 200px; -moz-box-shadow: 0px 0px 25px 2px #000000; -webkit-box-shadow: 0px 0px 25px 2px #000000; box-shadow: 0px 0px 25px 2px #000000; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; margin-bottom: 20px; padding-left: 40px; padding-top: 30px; } </code></pre> <p>Thank you so much for you help!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload