SOLVED: Custom CSS Won't Load

Feb 12, 2010 12:06

I've been trying to change my layout to one from estiloamor , but it won't load. I've tried different browsers and even my sister's MacBook, but the layout wont load. I tried loading a layout from minty_peach , and it worked fine. Is there something wrong with my CSS? I checked it in Firefox's CSS editor and it worked fine. I have a Plus account and use Safari though I have access to both Firefox and IE.

Here is the code:

/* stylesheet by morirvivo@estiloamor */

body {
background-image: url(http://i197.photobucket.com/albums/aa291/Wunderkind_Princess_Lucy/LJ/heartBG.png); background-attachment: scroll;
text-align: center;
color: #a0a0a0;
font-family: tahoma;
font-size: 8pt;
margin: 0px;
line-height: 150%
}

a, a:link, a:visited {
color: #BFBFBF;
text-decoration: none;
}

a:hover {
color: #ccc;
text-decoration: none;
}

b, i, s, u, emphasise, abbr, strong, strike { color: #990000;}

blockquote {
font-size: 11px;
color: #444;
border: #ddd solid 1px;
padding: 10px;
background-color: #F2F2F2;

}

code, kbd, pre, tt {
font-family: monospace;
}

#content
{
margin: auto;
background-image: url(); background-attachment: scroll;
width: 100%;
margin-right: auto:
margin-left: auto;

}

#maincontent {
width: 750px;
text-align: left;
margin-left: auto;
margin-right: auto;

}
#sidebar {
padding: 15px 0 11px 0;
width: 750px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
text-align: justify;
font-family: tahoma;
font-size: 9px;
text-transform: none;
font-weight: lighter;
letter-spacing: 1px;
background-color: #1A1A1A;
color: #858585;
border: 1px dotted #a0a0a0;
}

#header {
width: 750px;
padding: 50px 0 11px 0;
margin-left: auto;
margin-right: auto;
text-align: center;
font-family: Trebuchet MS;
font-size: 9px;
text-transform: lowercase;
font-weight: lighter;
letter-spacing: 3px;
background-color: #000;
color: #fff;
border: 1px solid #333;
display: block;
}

div#header li.view, div#footer li.viewing { margin-left: 8px; margin-right: 8px; padding:15px 0px 0px 0px; background: transparent url("http://i44.tinypic.com/mb4hld.png") no-repeat scroll 50% 0%; color: #fff;}

#footer {
width: 100%;
padding: 0px 0px 10px 0px;
text-align: center;
font-family: "arial", sans-serif;
font-size: 9px;
font-weight: normal;
letter-spacing: 1px;
color: #000;
margin-top: 0px;
z-index: 100;
clear: both;
}

/* header -- links to views; title of journal; subtitle of journal */

div#header a, div#header a:link, div#header a:visited {
color: #737373;
padding: 0px;
background-color: ;
text-decoration: none;
}

div#footer a, div#footer a:link, div#footer a:visited {
color: #333;
padding: 15px;
background-color: #000;
text-decoration: none;
}

div#header a:hover{
background-color: transparent;
text-decoration: none;
color: #808080;
padding: 0px;
}

div#footer a:hover{
color: #8C8C8C;}

ul.navheader
{
padding: 0px;
display: inline;
margin: 0px;
}

ul.navheader li {
display: inline;
padding-bottom: 0px;
margin: 2px 2px 2px 2px;
}

.title {display: none;}
.subtitle{ display:none;}

/* sidebar */

div#sidebar a, div#sidebar a:link, div#sidebar a:visited{
color:;
}

div#sidebar a:hover {
color:;

}

.defaultuserpic { position: absolute; display: block; padding:0px; text-align:center; margin: 15px;}
.defaultuserpic img {padding: 15px 15px 10px 10px; border: 0px; margin: 0px 0 10px 10px; width: 60px; height: 60px; float: left; }

.defaultuserpic{ opacity:.60; -moz-opacity: 0.60; filter: alpha(opacity=60); }
.defaultuserpic:hover{ opacity: 1; -moz-opacity: 1; filter: alpha(opacity=100);

}

.sbarheader {
padding: 0 5px 0 5px;
}

.sbarbody {
padding: 0 5px 0 5px;
}

.sbarbody2 {
font-family: arial;
width: 570px;
margin-left: 100px;
margin-right: auto;
padding:15px 7px 7px 15px;
}

table.calendar {
margin-right: auto;
margin-left: auto;
display: none;
}

.sbarcalendarposts {
padding: 3px;
border: 1px solid #f0f0f0;
background: #f7f7f7;
text-align: center;
}

ul.sbarlist
{
display: block;
padding-left: 0;
margin-left: auto;
margin-right: auto;
width: auto;

}

li.sbaritem
{
border-right: 1px solid #333;
padding: 5px;
margin-left: 0px;
list-style: none;
text-align: left;
width: 500px;
margin-left: auto;
margin-right: auto;
text-transform: lowercase;
display: inline;

}

li.sbartitle
{
display: none;

}

#sidebar_linklist
{
font-family: Georgia, Times New Roman, Book Antiqua, serif;
text-align: right;
padding:2px 0px;

}

/* maincontent */

.subcontent {
padding: 5px;
margin-top: 8px;
margin-left: auto;
margin-right: auto;
position: relative;
background-color: #fff;
border: #ccc solid 1px;

}

.entry {
margin: 0px 0px 0px 0px;
padding: 5px 15px;
background-color: #fff;
color: #333;
font-family: arial;
font-size: 8pt;
text-align: left;
}

.entry_text {
padding-right: 0px;
background-color: #fff; }

.entry ul li, ol li, li
{
padding-left: 5px;
margin-left: 0;
list-style: decimal-leading-zero;
list-style-position: inside;
}

hr {

height: 1px;
background-color: #ffffff;
border-bottom: 1px solid #ccc; }

.userpic {
position: relative;
float: right;
padding: 5px;
color: #fff;
margin-right: 5px;
text-align: center;
margin-top: 5px;
z-index: 15;
border: 1px solid #eee;
}

.userpicfriends {
position: relative;
float: right;
padding: 5px;
color: #fff;
margin-right: 5px;
text-align: center;
margin-top: 5px;
z-index: 15;
border: 0px;
background: #fff!important;

}

.userpicfriends font {color: #4D4D4D!important;}
.userpicfriends img {padding: 5px; border: 1px solid #eee; background: #fff!important;}
.date {
text-transform: uppercase;
color: #aaaaaa;
font-size: 6pt;
letter-spacing: 7px;
word-spacing: 8px;}
.subject {
color: #333;
background-color: transparent;
padding-left: 15px;
font-size: 18pt;
text-transform: lowercase;
line-height: 100%;
letter-spacing: -2px;

}
.subject a, .subject a:link, .subject a:visited {text-decoration: bold; color: #333;}

.datesubject {
text-align: left;

background-image: url();
background: #fff;
border-bottom: #eee solid 1px;
padding-top: 5px;
padding-bottom: 5px;
}
.currents div { display: block; }

.currents strong, .currentmood strong, .currentmusic .currentlocation, .ljtags strong {
color: #858585;
font-weight: lighter;
font-family: tahoma;
text-transform: lowercase;
}

.ljtags {text-align: left; padding: 2px 2px 2px 15px; margin-top:

50px; position: relative; text-transform: lowercase; font-size: 7pt; color:

#888888; background: transparent url(http://i42.tinypic.com/29o4zlx.png)

no-repeat scroll 0% 50%; margin-left: 5px;}

.ljtags a, .ljtags a:link, .ljtags a:hover, .ljtags a:visited {
color: #ccc;
text-transform: lowercase;
font-weight: lighter; }

.currents, .currentmood, .currentmusic {
font-size: 9px;
line-spacing: -1px;
font-weight: lighter;
color: #ccc;
text-transform: lowercase;
}

.currentlocation a, .currentlocation a:link, .currentlocation a:visited {
color: #ccc;
font-weight: bold;
text-transform: lowercase;
}

.currentlocation a:hover, .ljtags a:hover {
color: #504F4F;
font-weight: bold;
text-transform: lowercase;
}

.comments {
text-transform: lowercase;
font-size: 10px;
color: #000;
text-align: right;
padding: 10px 10px 10px 10px;
position: relative;
margin-left: -21px;
margin-right: auto;
width: 730px;
background: #000;
top: 20px;
}

div.comments a, div.comments a:link, div.comments a:visited{
font-family: Trebuchet MS;
color:#1a1a1a;
padding: 5px;
font-size: 30px;
}

div.comments a:hover { color:#ccc; }

/* maincontent -- entry, reply pages */

.datesubjectcomment {
background-color: #fff;
padding: 5px;
margin-top: 20px;
}

.userpiccomment {
position: relative;
border: 5px solid #fff;
background-color: #ffffff;
top: -30px;
left: 0px;
padding: 5px;
margin: 10px 10px -20px 10px;
z-index: 15;
float: left;
border: 5px solid #fff;
}

.box {
border: #eee 1px solid;
background-color: #ffffff;
padding: 10px;
clear: left;
}

input, textarea {
background-color: #ffffff;
color: #000000;
}

textarea.textbox {
width: 95% !important;
background-color: #ffffff;
}

.reply {
position: relative;
margin: 20px 30px 10px 30px;
padding: 25px 10px 10px 10px;
text-align: left;
font-family: "Verdana", sans-serif;
font-size: 11px;
line-height: 125%;
background-color: #ffffff;
color: #000000;
}

.replytosubject {
font-weight: bold;
background-color: #ffffff;
}

.commentreply {
background-color: #ffffff;
position: relative;
margin: 10px;
font-size: 11px;
font-family: arial ;
color: #444;
}

.commentbox {

border-color: #ffffff;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #ffffff;
}

.datesubjectcomment a:link, .datesubjectcomment a:visited {
color: #444;
}

.datesubjectcomment a:hover {
color: #000000;
}

.commentboxpartial {
border-color: #ffffff;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #ffffff;
}

.commentinfo {
background-color: #ffffff;
margin-top: 10px;
width: 100%;
}

/* maincontent -- year/achive pages */

ul.year {

text-align: center;

padding-bottom: 40px;
}

ul.year li {

display: inline;
}

table.yeartable {
margin-left: auto;
margin-right: auto;
}

table.yeartable td.yeardate, table.yeartable td.yearday {
border-width: 1px;
border-style: solid;
border-color: #ffffff;
}

table.yeartable td.yearday {
background-color: #ffffff;
text-align: center;
}

td.yearmonth {
border-style: none;
}

/* footer */

ul.navfooter{
padding: 0px;
margin: 0px;
}

ul.navfooter li {
padding: 10px;
display: inline;
margin: 0 5px 0 5px;
}

.clearfoot {
clear: both;
}

/* misc */

.clear {
height: 15px;
}

.skiplinks {
border: 1px solid #eee;
background-color: #f7f7f7;
margin: 30px 0px -15px 0px;
margin-top: 10px;
padding-left: 3px;
text-align: center;
color: #f7f7f7;
text-transform: lowercase;
}

.headerimage {
/* for formatting header image */
width: 750px;
height: 245px;
background-image:url(http://i197.photobucket.com/albums/aa291/Wunderkind_Princess_Lucy/LJ/kimyunaheader.png );
background-repeat: no-repeat;
margin-right: auto;
margin-left: auto;
background-color: ;
}

.separator{
/* for formatting separators between entries */
height: 1px;
}

* html div.subcontent {
/* fixes an IE reply page bug */
height: 1%;
clear: none;
}

* html div.box#commentform {
/* fixes an IE reply page bug */
position: absolute;
border-width: 1px;
border-style: solid;
border-color: #ffffff;
background-color: #fff;
}

#footer .viewing { display:none; }
/*----------------------------------------------------
Tiny Icons
----------------------------------------------------------------*/
.ljuser img {
width: 0;
height: 0;
background-repeat: no-repeat;
background-color:transparent;
/* so that IE users will still see an image */
background-image: url(http://i44.tinypic.com/xmn9e0.png);
padding: 13px 13px 0 10px;
}

.ljuser img[src="http://l-stat.livejournal.com/img/userinfo.gif"] {
background-color:transparent;
background-image: url(http://i44.tinypic.com/xmn9e0.png);
padding: 13px 13px 0 10px;
}

.ljuser img[src="http://l-stat.livejournal.com/img/community.gif"] {
background-color:transparent;
background-image: url(http://i44.tinypic.com/10i79zp.png);
padding: 12px 11px 0 11px;
}

.ljuser img[src="http://l-stat.livejournal.com/img/syndicated.gif"] {
background-image: url(http://i31.tinypic.com/16h3r6u.gif);
padding: 12px 11px 0 11px;
}

.ljuser img[src="http://l-stat.livejournal.com/img/newsinfo.gif"] {
background-image: url(http://i31.tinypic.com/16h3r6u.gif);
padding: 12px 11px 0 11px;

}

.ljuser img[src="http://stat.livejournal.com/img/openid-profile.gif"] {
background-image: url(http://i31.tinypic.com/16h3r6u.gif);
padding: 12px 11px 0 11px;
}

span.ljuser a b { font-weight: none; padding: 2px 0 2px 0; color: #ccc ; background:

#transparent; }

span.ljuser a:hover { font-weight: none; padding-top: 2px; padding-bottom: 2px; color:

#f0f0f0;

background: #transparent;}
span.ljuser a b, b a, a b {
padding: 2px;
font-weight: lighter;
}

/* replace default protected entry icon */

.subject img[src="http://l-stat.livejournal.com/img/icon_protected.gif"]{
width: 0;
height: 0;
padding: 16px 16px 0px 0px;
background: url(http://i35.tinypic.com/neb4gw.png);
}

.subject img[src="http://l-stat.livejournal.com/img/icon_private.gif"]{
width: 0;
height: 0;
padding: 16px 16px 0px 0px;
background: url(http://i35.tinypic.com/15n4ln5.jpg);
}

/*--- MAKING ALL IMAGES SEE-THROUGH ON HOVER ---*/

img:hover {
filter: alpha(opacity=70);
moz-opacity: .70;
opacity: .70;
}

span.ljuser a b { font-weight: lighter; padding: 2px 0 2px 0; color: #ccc ; background:#transparent; }

span.ljuser a:hover { font-weight: lighter; padding-top: 2px; padding-bottom: 2px; color: #f0f0f0; }

SOLVED: I must have messed up the coding somehow. I went and recopied the CSS and loaded it. It worked. Then I added the header info and saved it. Then I added the background info and saved it. Now it works fine.

lj and browser issues, solved

Previous post Next post
Up