Yet another "sidebar at bottom" post - SOLVED

Sep 13, 2008 02:48

Here is my layout. I'm using expressive, unstyled, with my own code based off of this starter sheet. In Firefox, Safari, Opera, and IE 7 it seems to display just fine, but in IE 6 the sidebar moves to the bottom. I looked through the tags and found a TON of people with the same problem, but nothing that seemed to fix the problem for me. (Of course, I'm not very handy with CSS, so I may have misunderstood the answers given.)

Here's my CSS, if it helps:

/*
general formatting
page structure
page banner header
header nav styles
headers
hover edit (sticky post header in LJ)
widget styling
asset styling
pager
utitlity code
*/

/* general formatting --------------------------------------------------- */
body {
font-family: Centaur, Helvetica, sans-serif;
font-size: 14px;
color: #876627;
background: url(http://pics.livejournal.com/woodburner/pic/001fw2cc) top right repeat #e9e9e9;

}

a {
font-weight: bold;
text-decoration: underline;
color: #b57910;
}

a:visited {font-weight: bold;
text-decoration: underline;
color: #e09b5d;
}

a:hover {
text-decoration: none;
}

/* page structure ----------------------------------------------------------- */

#page-inner {
width: 940px;
margin: 0 0 0 0;
background: #fffbeb url(http://pics.livejournal.com/woodburner/pic/001fx69a) repeat top right;
}

#content-inner {
padding-top: 15px;
padding-right: 0;
margin: 0;
}

#alpha-inner {
margin: 0 20px 25px 20px;
}

#beta-inner,
#gamma-inner { padding: 0 0 25px 0; margin: 0; }

/* variations of sidebar backgrounds */
.layout-tw #content-inner,
.layout-wt #content-inner,
.layout-wtt #content-inner,
.layout-twt #content-inner {
background-position: top right;
background-repeat: repeat-y;
background-color:transparent;
}

.layout-wt #content-inner { background-image: url(content-bg-wt.gif); }

.layout-twt #content-inner,
.layout-tw #content-inner {
background-position: top left;
background-image: url(content-bg-tw.gif);
}

/* Three columns on home pages */
.layout-wtt #content-inner { background-image: url(content-bg-wtt.gif); }
.layout-twt #content-inner { background-image: url(content-bg-twt.gif); }

/* page banner header ----------------------------------------------------------- */

.page-header1 { font-size: 28px; }
.page-header2 { font-size: 22px; }
.page-header3 { font-size: 18px; }
.page-header4 { font-size: 14px; }

#header-text,
.page-header1,
.page-header2,
.page-header3,
.widget-header {
font-family:Arial, Helvetica, sans-serif;
}

#header {
position: static; /* fixes positioning issue on IE where header content displays outside #header-content */
background-color: transparent;
padding-bottom: 5px;
}

#header-inner {
position: static; /* fixes positioning issue on IE where header content displays outside #header-content */
background-position: left bottom;
background: #fff url(http://pics.livejournal.com/woodburner/pic/001fypbe) no-repeat top left;
height: 250px;
width: 940px;
}

#header-content-inner {
margin: 0px 0px 0px 20px;
padding-bottom: 60px;
}

#header-text {
float: left;
width: 635px;
position: absolute;
top: 15px;
}

#header-name {
padding-top:5px;
font-size: 22px;
font: arial;
color: transparent;
position: static;
display:none;
}

#header-name,
#header-name a {
color: transparent;
text-decoration: none;
}

#header-name a:hover {
text-decoration: underline;
}

#header-description {
font-size: 14px;
font-style:italic;
}

#header-description,
#header-description a {
position: absolute;
top: 195px;
color: #fffbeb;
}

/* header nav styles ------------------------------------------------- */
.nav,
.nav a {
color: #fffbeb;
}
.nav .item {
border-color: #dfd5b3;
}
.nav .current a {
text-decoration: underline;
}

/* headers and captions -------------------------------------------- */

.asset-name { font-weight: bold; }

.asset-name,
.asset-name a,
.page-header1,
.page-header2,
.page-header3 {
color: #a28760;
}

/*hover edit --------------------------------------------------*/
/*in LJ, this is the sticky post header*/
.asset-name-hover {
background-color: #fffbeb;
opacity:.50;
float: left;
width: 700px;
}

/* widget styling --------------------------------------------------*/

.widget {
border-left-width: 1px;
border-left-style: solid;
border-left-color: #dbc29e;
margin-bottom: 0;
border-bottom-width: 4px;
border-bottom-style: double;
border-bottom-color: #dbc29e;
}

.about-me-widget {
border-top: double #dbc29e;
}

.widget .asset-image img,
.widget .user-pic a img,
.widget .user-pic img {
border: none;
}

.widget-header {
padding: 10px 15px;

font-size: 13px;
font-weight: bold;
background-color:#fffbeb;
height:14px;
opacity: .65;
}

.widget .widget-header a:hover {
text-decoration: underline;
}

.archive-widget ul.widget-list .item,
.widget a { color: #a8996f; }

.widget .widget-header, /*extra class keeps rule above from overwriting in variants*/
.widget .widget-header a {
color: #b68b4d;
text-decoration: none;
}

.widget-content {
padding: 0 20px;
font-size: 11px;
color:#a8996f;
float: center;
}

.widget .widget-header {
}

.widget-header .edit a {
border-left-color: #fff;
font-size: 10px;
}

.widget ul, .widget ol, .widget dl { margin-bottom: 0; }

.widget-footer {
font-size: 11px;
}

.widget-footer p {
line-height: 1;
margin: 0;
padding: 0;
}

* html .widget-footer a {
/* Win IE < 7 */
padding: 0 15px;
word-wrap: break-word;
}

/* widget styling --------------------------------------------------*/

.widget-header {
background-image:url(widget-header-beta.gif);
background-repeat:no-repeat;
}

.archive-widget ul.widget-list .item,
.widget a { color: #b57910; }

/* asset styling --------------------------------------------------*/

.asset-content blockquote {
padding: 10px;
width: 500px;
font-size: 13px;
color: #907247;
background-color:#fcf3df;
margin-left: 25px;
opacity: .75;
}

.user-icon {
float: right;
background: transparent;
}

/* Win IE < 7 */
* html .asset-content ol { margin-left: 25px;}

.asset-stream-list .post-asset .asset-name { margin-top: 0; }

.asset-tags-list {
font-size: 12px;
}

.asset-tags-header { font-size: 12px; font-weight:bold;}

.asset-stream-grid .asset-inner {
background-color: #eff3f7;
padding: 0;
}

.asset .asset-meta dd a {
color: #333333;
}

.asset-meta-list .datetime {
color:#907247;
}

#alpha .asset-meta-list a {
color:#b57910;
}

.asset-meta-list .item {
border-color: #444444;
}

.asset-footer {
height:20px;
}

.asset-tags-list a:hover {
text-decoration: none;
background-color: transparent;
}

#comments .comment-even,
.comment-error {
background-color: #b7b7b7;
padding:2px;
}

#comments .comment-odd {
background-color: #a7a7a7;
padding:2px;
}

#comments input, #comments textarea {
border: 1px solid #7f7f7f;
}

.asset-detail .asset-containers,
.comment-even,
.comment-error {
border-width: 0px;
border-style: solid;
border-color: #d9ecc7;
}

#comment-form textarea {
border: 1px solid #979797;
border-right-color: #e5e4e4;
border-bottom-color: #e5e4e4;
}

.comment-form-footer input { border: 1px #a9a9a9 solid; }

.recent-activity-posts .post-asset,
.asset-containers .post-asset {
background-position: 0 4px;
}

/* Pager ------------------------------------------------------------------ */
.pager a,
.pager .current a { color: #478bb6; }

/* Utility Code --------------------------------------------------- */

/* clear floats, inspired by positioniseverything.net/easyclearing.html */
.comment-body:after,
#page-inner:after,
#header-inner:after,
#header-photo:after,
#content-inner:after,
#alpha-inner:after,
#beta-inner:after,
#gamma-inner:after,
#delta-inner:after,
#footer-inner:after,
.widget .user-pic:after {
content: ".";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0.1px;
}

/* float in post bodies around enclosures */
#content-inner,
.asset-body {
height: 1%;
}

/* Win IE < 7 */
* html #header-name a { word-wrap: break-word; }

Thanks for reading, and I'd greatly appreciate any insight anyone has to offer!

sidebar:placement

Previous post Next post
Up