Note that there are some explanatory texts on larger screens.

plurals
  1. POMy sidebar pushes my whole website down
    primarykey
    data
    text
    <p>So I got this website where everything were lined up perfectly, the header, body footer etc. Past week I tried to add a sidebar and I realized that it pushed my main content down. So many question is, how can I make the margins/height of my sidebar independent of my main content? (Posted CSS code below)</p> <p>DEMO: Edit: <a href="http://oldtimesdaily.tumblr.com/" rel="nofollow">http://oldtimesdaily.tumblr.com/</a> my tumblr with code. How it looks right now. The absolute position worked, the main content is back at top. But now all contents of my sidebar are jammed together, I guess absolute positionen removes all margins? What should I use instead to position the different contents on my sidebar?</p> <pre><code>#quote { /*style for quote division*/ position:relative; width:375px; height:70px; border:1px solid black; font-family:sans-serif; font-size:95%; padding:3px; background-color:lightyellow; } #auth { /*style for quote author, if any*/ position:absolute; bottom:3px; right:10px; } #sidebar { /*editable*/ background: url('http://s10.postimg.org/uag5u79d1/vline.png') repeat-y left center; background-color: white; width: 260px; position: relative; top: 700px; left: 55%; } #sidebar .sTitle { padding: 0 0 10px 0; position: relative; margin: 0px 20px 0px; color: #222; font-size: 15px; line-height: 1; font-family: QuicksandBold, Helvetica, Arial, sans-serif; font-weight: bold; letter-spacing: 3px; text-decoration: none; border-bottom: 0px; } #sidebar .Categories { font-size: 11px; text-align: center; padding: 3px 5px; margin: 50px; } </code></pre>
    singulars
    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