Question:
What's wrong with this code?
yukichan
2008-01-27 12:30:18 UTC
This a code for a layout for livejournal, but when I tried using it, it came out messed up. I used the format from another layout and simply changed the colors, headerimage and sizes but kept everything else. First of all the whole header was too far to the right in relation to the maincontent, and the headerimage didn't show up at all.(this is an s2, flexible squares)
/*---------------------------------------------------
ORIGINAL CODING CODING BY IPETPIGS @ LJ
Modified & Layout by KIJUUKI_CHAN @ Livejournal.com
Flexible Squares
Made for paid & free accounts
-----------------------------------------------------*/


body {
background-color: #6666CC;
background-image: url(' ');
background-repeat: repeat;
background-position: top left;
background-attachment: fixed;
font-family: Times New Roman;
font-666CC;
margin: 10px 0 10px 0;
}

a, a:link, a:visited {
color: #000000;
text-decoration: none;
text-transform: uppercase;
}

a:hover {
color: #6666CC;
background-color: #FFFFFF;
text-decoration: none;
text-transform: uppercase;
}

p, td, blockquote {
font-size: 11px;
}

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

/*---------------------------------------------------------------------
General page alignment and width
------------------------------------------------------------------------*/

#content
{
width: 720px;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
border-width: 0px;
border-style: solid;
border-color: #6699FF;
padding: 0px;
}

#maincontent {
margin-top: 0px;
font-family: Times New Roman;
font-size: 12px;
background-color: #6699FF;
color: #6666CC;
border-style: solid;
border-color: #6699FF;
border-width: 0px;
margin-right: 05px;
margin-left: 05px;
text-align: justify;
}

#header {
width: 720px;
padding: 0px 0px 0px 0px;
margin: 0px;
padding: 3px;
text-align: center;
font-family: Times New Roman;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 0px solid; color:#6699FF;
background-color: #FFFFFF;
color: #6666CC;
}


.headerimage {
position: relative;
width: 720px;
height: 400px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
background-image: url('http://i274.photobucket.com/albums/jj270/kijuuki_chan_lj_pics/shou_angelic_dream_header.png');
background-repeat: no-repeat;
}

#footer {
width: 720px;
text-align: center;
font-family: Times New Roman;
font-size: 12px;
font-weight: bold;
letter-spacing: 2px;
background-color: #FFFFFF;
color: #6666CC;
border-color: #6699FF;
border-width: 1px;
border-style: solid;
z-index: 100;
clear: both;
}

/*look and color of links (also partly for footer)*/
div#header a, div#header a:link, div#header a:visited, div#footer a, div#footer a:link, div#footer a:visited {
color: #000000;
}

div#header a:hover, div#footer a:hover {
color: #6666CC;
text-decoration: none;
background-color: #FFFFFF;
}


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

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

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

.title {
display: inline;
font-family: Times New Roman;
color: #FF33FF;
font-size: 10px;
font-weight: thin;
letter-spacing: 0px;
line-height: 200%;
top: 0px;
text-decoration: abbr;
}

.subtitle {
display: inline;
font-family: Times New Roman;
color: #FF33FF;
font-size: 10px;
font-weight: thin;
letter-spacing: 0px;
top: 0px;
text-decoration: abbr;
}

/*-----------------------------------------------------------------------------
Entry stuff
------------------------------------------------------------------------*/

.subcontent {
}

.entry {
margin: 0px 0px 0px 0px;
padding-top: 07px;
padding-right: 03px;
background-color: #FFFFFF;
color: #6666CC;
line-height: 11px;
font-family: Times New Roman;
font-size: 12px;
text-align: justify;
border-width: 1px;
border-color: #6699FF;
border-style: solid;
}

.entry ul li
{
padding-left: 5px;
margin-left: 5px;
}

.entry ol li
{
padding-left: 5px;
margin-left: 5px;
}

.userpic {
position: relative;
float: right;
background-color: #6666CC;
color: #FFFFFF;
padding: 5px;
margin: 10px 10px 0px 10px;
display: none;
text-visable: none;
z-index: 0;
}

.userpicfriends {
position: relative;
float: right;
padding: 5px;
margin-right: 10px;
margin-left: 5px;
margin-top: 5px;
text-align: center;
font-family: Times New Roman;
font-size: 10px;
z-index: 15;
border-style: solid;
border-width: 2px;
border-color: #6666CC;
background-color: #FFFFFF !important;
background-image: url('');
background-repeat: repeat;
}

.date {
display: inline;
top: 0;
padding: 0;
padding-bottom: 5px;
text-align: left;
color: #FFFFFF;
font-family: Times New Roman;
font-size: 12pt;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
}

.subject {
display: inline;
text-align: left;
font-weight: normal;
padding: 0;
padding-bottom: 02px;
color: #FF33FF;
font-family: Times New Roman;
font-size: 11pt;
text-transform: lowercase;
}

.subject a, .subject a:link, .subject a:visited {
color: #000000;
}

.subject a:hover {
color: #6666CC;
}

.datesubject {
background-color: #6699FF;
padding: 0px;
text-align: left;
border-bottom: 1px solid; color: #6666CC;
}

.entryMetadata {
padding-left: 10px;
display: block;
}

.entryMetadata ul {
margin: 2px;
padding: 0px;
}

.entryMetadata li {
list-style: none;
display: block;
padding-right: 10px;
}

.entryMetadata-label {
font-weight: bold;
padding-right: 4px;
}

.entryLinkbar {
font-family: verdana, tahoma, arial, sans-serif;
font-size: 7pt;
color: #6666CC;
text-align: center;
padding: 6px 0px 6px 0px;
}

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

.entryLinkbar li {
padding: 0px 5px 0px 5px;
margin: 5px;
display: inline;
}

.currents, .currentmood, .currentmusic {
font-weight: thin;
font-family: Times New Roman;
color: #FF33FF;
font-size: 11px;
padding-top: 0px;
}

.ljtags {
margin-top: 10px;
position: bottom;
color: #FF33FF;
text-transform: lowercase;
font-weight: normal;
}

.ljtags a, .ljtags a:link, .ljtags a:visited {
color: #000000;
font-weight: normal;
}

.ljtags a:hover {
color: #FF33FF;
font-weight: normal;
}

.comments {
font-family: Times New Roman;
font-size: 11px;
text-align: center;
font-weight: normal;
padding: 6px;
position: center;
top: 12px;
border-top: 0px solid #6699FF;
background-color: #FFFFFF;
background-image: url(' ');
background-repeat: repeat;
text-transform:uppercase;
letter-spacing: -1pt;
clear: right;
}

div.comments a, div.comments a:link, div.comments a:visited{
color: #000000;
}

div.comments a:hover {
color: #6666CC;
text-decoration: none;
}


.separator{
height: 05px;
}


#footer {
width: 720px;
text-align: center;
font-family: Times New Roman;
font-size: 12px;
font-weight: thin;
letter-spacing: 3px;
background-color: #FFFFFF;
color: #6666CC;
border-color: #6699FF;
border-width: 1px;
border-style: solid;
z-index: 100;
clear: both;
}


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

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


.clearfoot {
clear: both;
}

/*----------------------------------------------------
Archive 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: #6666CC;
}

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

td.yearmonth {
border-style: none;
}


/*----------------------------------------------------
Comments pages
----------------------------------------------------------------*/

.datesubjectcomment {
background-color: #FFFFFF;
padding: 5px;
margin-top: 20px;
}
.userpiccomment {
position: relative;
border-width: 1px;
border-style: solid;
border-color: #6699FF;
background-color: #FFFFFF;
top: -30px;
left: 0px;
padding: 5px;
margin: 10px 10px -10px 10px;
z-index: 15;
float: left;
border-width: 1px;
border-color: #6699FF;
border-style: solid;
}

.box{
color: #FF33FF;
border: 1px solid #FFFFFF;
padding: 08px;
margin: 08px 0 08px 0;
clear: left;
background: #FFFFFF;
}

.box b {
color: #FF33FF;
}

input, textarea, select {
padding: 03px;
color: #FF33FF;
border: 1px solid #999999;
background: #FFFFFF;
}

textarea.textbox {
width: 100% !important;
}

.reply {
position: relative;
margin: 20px 30px 10px 30px;
padding: 25px 10px 10px 10px;
text-align: left;
font-family: Times New Roman;
font-size: 11px;
line-height: 125%;
background-color: #FFFFFF;
color: #000000;
}

.replytosubject {
font-weight: bold;
}


.commentreply {
position: relative;
margin: 10px;
font-size: 11px;
font-family: Times New Roman;
color: #000000;
}

.commentbox {
border-color: #6699FF;
border-width: 1px;
border-style: solid;
padding: 10px;
margin: 10px;
background-color: #FFFFFF;
}

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

.datesubjectcomment a:hover {
color: #6666CC;
}

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

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

.skiplinks {
text-align: center;
}


/*--------------------------------------------
Misc
-----------------------------------------*/

.clear {
height: 07px;
}
Five answers:
BigRadi0Head
2008-01-27 18:25:55 UTC
i never thought that a CSS code could be that large
lounsberry
2016-10-05 15:59:01 UTC
there is not something you're able to do, yet whilst the PO container quantity is genuine and the city and state are the terrific option, the submit workplace will the terrific option the zip. it is going to only reason an afternoon or 2 delay in getting your kit.
2008-01-27 12:34:30 UTC
You may want to edit the end, it seems wrong.
2008-01-27 12:45:05 UTC
its the wierdest code i have ever seen in my life, lol, wht lang. is that ??
2008-01-27 12:34:05 UTC
WHO WHAT WHERE KNOW WHEN?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...