LJ layout CSS help
Date: 04/05/07
(HTML Help) Keywords: css, html
I made a layout, and it looks great. Except that the header and menu are messed up on the comment page only. Can someone take a look at the CSS below and tell me how to fix this? Please. The layout is at my test journal mrs_drake. You can see the problem on this page: http://mrs-drake.livejournal.com/263.html
/* PAGE */
body {
font-family: tahoma, sans-serif;
font: comic sans ms;
font-size: 10pt;
margin: 2px 2px 2px 2px;
background-color: #000000;
color: #6fb3ff;
margin-top: 20px;
margin-bottom: 20px;
}
a {
color: #0000ff;
text-decoration: none;
}
a:visited {
color: #6fb3ff;
text-decoration: none;
}
a:hover {
color: #0000ff;
text-decoration: underline;
}
.pageblock{
width:85%;
margin: 0 auto;
background-color: #fff9b9;
color: #000000;
background-position: center;
}
.pagefooterblock{
background-color: #fef14e;
color: #000000;
padding: 10px;
margin-top: 0px;
text-align: center;
text-transform: uppercase;
}
.pagefooterblock a, .pagefooterblock a:visited {
color: #0000ff;
}
/* HEADER */
.pageheaderblock {
text-align: center;
background-image: url(http://img.photobucket.com/albums/v397/mrsdrake/LJ_Banners/droplets-icon_goddess_with_text.png) ;
width: 85%;
height: 440px;
background-position: center;
background-repeat: no-repeat;
}
.header-title {
display: none;
}
.header-subtitle {
display: none;
}
.header-icon {
top: 0px;
right: 0px;
position: absolute;
z-index: 1;
}
.header-menu {
padding: 0px 0px 0px 0px;
background-color: transparent;
font-family: verdana;
font: comic sans ms;
font-size: 13px;
line-height: 39px;
text-transform: uppercase;
text-align: center;
background-color: #fff9b9;
}
.header-menu a, .header-menu a:visited {
white-space: nowrap;
text-align: left;
padding: 2px 5px 2px 5px;
color: #0000ff;
text-decoration: none;
font-weight: bold;
}
.header-menu a:hover {
color: #fef14e;
background-color: #0000ff;
text-decoration: underline;
}
.header-menu ul, #footer-menu ul {
margin: 0px;
padding: 0px;
}
.header-menu li, #footer-menu li {
display: inline;
}
/* BODY */
.bodyblock {
padding:0px;
}
.bodyheaderblock {
display: none;
}
.bodynavblock {
background-color: #fff9b9;
color: #6fb3ff;
margin: 5px 0px 4px 0px;
padding: 9px;
}
.bodynavblock a, .bodynavblock a:visited {
color: #000000;
}
.body-title {
display: none;
}
.body-midtitle {
font-family: tahoma;
font: comic sans ms;
font-size: 21px;
color: #000000;
text-align: left;
padding-left: 8px;
}
/*ENTRIES*/
.entryHolder {
color: #000000;
background-color: #fff9b9;
font-family: tahoma;
font-size: 14px;
margin: 4px 4px 4px 4px;
text-align: justify;
padding-right: 5px;
}
.entryUserinfo {
text-align: center;
margin: 5px 3px 5px 3px;
background-color: transparent;
}
.entryUserinfo-usericon img {
border: 0px;
}
.entryText {
padding: 6px;
}
.entryHeader {
background-color: #fef14e;
color: #000000;
font-family: tahoma;
font: comic sans ms;
font-size: 13px;
padding: 4px;
font-weight: bold;
text-transform: uppercase;
border-top: 1px dashed #0000ff;
border-bottom: 1px dashed #0000ff;
letter-spacing: 2px;
text-align: center;
}
.entryHeader a{
color: #000000;
}
.entryHeaderSubject {
}
.entryHeaderDate a {
color : #0000ff;
text-decoration : none;
}
.entryHeaderDate a:hover {
color : #000000;
text-decoration : underline;
}
.entryMetadata {
padding-left: 6px;
}
.entryMetadata ul {
margin: 0px;
padding: 0px;
}
.entryMetadata li {
list-style: none;
display: inline;
padding-right: 10px;
}
.entryMetadata-label {
font-weight: bold;
padding-right: 4px;
}
.entryLinkbar {
font-family: tahoma;
font: comic sans ms;
font-size: 14px;
color: #000000;
text-align: right;
padding: 4px 0px 4px 0px;
}
.entryLinkbar ul {
margin: 0px;
padding: 0px;
}
.entryLinkbar li {
padding: 0px 5px 0px 5px;
margin: 0px;
display: inline;
}
/*FOOTER*/
#footer-menu {
font-size: 14px;
text-align: center;
}
#footer-menu a, .footer-menu a:visited {
color: #808080;
white-space: nowrap;
padding: 6px;
text-align: center;
}
/*SIDEBAR*/
.sidebar {
font-family: tahoma;
font: comic sans ms;
font-size: 14px;
margin-right: 3px;
width: 200px;
background-color: #fff9b9;
padding: 0px 0px 0px 0px;
margin-left: 3px;
}
.sidebox {
color: #000000;
background-color: transparent;
margin: 4px 0px 4px 0px;
}
.sideboxTitle {
background-color: #fef14e;
color: #000000;
font-family: tahoma;
font-size: 13px;
padding: 5px;
text-align: left;
text-transform: uppercase;
font-weight: bold;
border-top: 1px dashed #0000ff;
border-bottom: 1px dashed #0000ff;
letter-spacing: 2px;
}
.sideboxContent {
text-align: justify;
padding: 2px 4px 2px 4px;
}
.sidebox #profile, .sidebox #latestmonth, .sidebox #search {
text-align: left;
}
.sidebox #tags_sidebox {
text-align: left;
}
.sidebox #systemlinks {
text-align: left;
}
.sidebox #latestmonth table{
width: 90%;
margin-left: auto;
margin-right: auto;
margin-top: 4px;
}
.listtitle {
font-weight: bold;
}
.profile-label {
font-weight: bold;
}
/*OTHER PAGES*/
/* COMMENT PAGE */
.commentHolder {
color: #000000;
background-color: #fff9b9;
font-family: tahoma;
font: comic sans ms;
font-size: 14px;
margin: 14px 0px 4px 5px;
border-bottom: 1px dashed #0000ff;
margin-right: 25px;
}
.commentUserinfo {
text-align: center;
margin: 0px 8px 8px 0px;
background-color: #000000;
}
.commentUserinfo-usericon img {
border: 0;
}
.commentText {
padding: 6px;
}
.commentHeader {
background-color: transparent;
color: #000000;
font-family: ;
font-size: 15px;
padding: 4px 0px 4px 8px;
}
.commentHeader a{
color: #000000;
}
.commentHeaderScreened {
font-family: ;
font-size: 15px;
background-color: #cccccc;
padding: 4px 0px 4px 8px;
}
.commentHeaderSubject {
font-weight: bold;
}
.commentLinkbar {
font-family: ;
font-size: 14px;
color: #000000;
text-align: right;
padding-top: 4px;
padding-bottom: 4px;
}
.commentLinkbar ul {
margin: 0px;
padding: 0px;
}
.commentLinkbar li {
padding: 0px 5px 0px 5px;
margin: 0px;
display: inline;
}
.replyform {
background-color: #fef14e;
color: #000000;
padding-left: 10px;
margin-right: 35px;
}
#commenttext{
width:100%;
}
/*ARCHIVE PAGE*/
.yearlinks{
text-align: right;
}
.yearlink{
padding-left:4px;
padding-right: 4px;
}
.month {
width: 320px;
border: 1px solid #6fb3ff;
margin: 8px 8px 8px 40px;
}
.daysubjects {
color: #000000;
padding: 8px 8px 8px 40px;
}
.daytitles {
text-align: center;
border: 1px solid #6fb3ff;
background: #eeeeee;
color: #000000;
}
.day-blank {
border: 1px solid #6fb3ff;;
}
.day {
border: 1px solid #6fb3ff;
}
.day-date {
border-right: 1px solid #6fb3ff;
border-bottom: 1px solid #6fb3ff;
color: #000000;
width: 50%;
text-align: center;
}
.day-count {
width: 50%;
text-align: center;
float: right;
font-size: 23px;
}
.day-count a {
text-decoration: none;
color: #0000ff;
}
/*TAGS PAGE*/
.tagstable, .tagstable td {
border: 1px solid #0000ff;
}
.tagstable { width: 300px; }
Cross posted to html_junkies, htmlhelp, and my LJ.
Source: http://community.livejournal.com/htmlhelp/2393428.html