?

Log in

No account? Create an account

Previous Entry | Next Entry

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!

Comments

( 3 comments — Leave a comment )
av8rmike
Sep. 15th, 2008 01:09 pm (UTC)
Sorry for taking so long to get around to this... Most of the time when this happens, it's because of the column widths. 750px + 190px = 940px, but some designers recommend you leave a pixel or two gap because sometimes the browser will force the floated sidebar to the bottom, thinking that there's not enough room for it. Unfortunately, I may not have access to IE6 for the next few days, so I may not be able to suggest more than that.

EDIT: Upon review in IE6, it looks like the problem may be the 1px left border you're assigning to .widget{}. You may need to reduce the width of the #beta column by one pixel to compensate, e.g.
#beta { width: 189px;}

Edited at 2008-09-16 04:21 pm (UTC)
woodburner
Sep. 16th, 2008 04:51 pm (UTC)
Thanks for the help! I just tried putting that code in, but right now *I* don't have access to IE6, lol. I'll have to see if it worked later.
woodburner
Sep. 17th, 2008 03:43 am (UTC)
It seems to work! Thanks!
( 3 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars