FF vs IE

May 14, 2010 14:22

I've been working on this layout for a few hours, and I've finally managed to make it work in both Firefox & IE with browser hacks.

Unfortunately, there is one issue that I haven't been able to fix. There is a huge gap between my date & subject & the entry when I look at it in IE, yet it's perfect in Firefox?

Please help! I'm tearing my hair out here :(

/*--CSS BY MIXREMIX.LJ
CREDIT COMMUNITY.LJ/MILKGLOVES--*/

body {
background-color: #fff;
background-image: url();
text-align: center;
color: #999;
font-family: "arial", sans-serif;
font-size: 8pt;
margin: 0px auto;
}

a, a:link, a:visited {
font-family: "arial", sans-serif;
font-size: 8pt;
color: #a2a2a2;
text-transform: lowercase;
letter-spacing: .1pt;
text-decoration: none;
font-weight: lighter;
}

a:hover
{
color: #a2a2a2;
background-color: none;
text-transform: lowercase;
letter-spacing: .1pt;
text-decoration: lighter;
text-shadow: 1px 1px 1px #111;
}

p, td, blockquote {font-size: 7pt;}

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

blockquote {
padding: 10px;
color: #999;
line-height: 15px;
font-size: 7pt;
font-family: "georgia",sans-serif;
background: #222;
text-align: center;
letter-spacing: 0px;
text-transform: lowercase;
}

blockquote a, blockquote a:link, blockquote a:visited {
font-size: 8pt;
font-family: "courier new",sans-serif;
color: #999; }

blockquote a:hover {
font-size: 8pt;
font-family: "courier new",sans-serif;
color: #666;
}

::-moz-selection {
background: #fff;
color: #999;
}

#content{
width: 80%;
margin: 0px auto;
background-color: transparent!important;
padding: 0px; position:relative;
}

#maincontent {
width:900px;
margin: 0px auto;
margin-top: 5px;
font-family: "georgia", sans-serif;
font-size: 7pt;
background-color: transparent!important;
color: #a2a2a2;
text-align: left; position:relative;
}

#sidebar {
background-color: #222; color: #8e8e8e;
margin: 0px auto; border-bottom: 10px solid #000;
font-family: "arial", sans-serif; position:relative; text-align: left;
font-size: 7pt; width: 877px; padding: 5px;
}

ul.sbarlist
{margin-bottom: 0px;
padding-left: 0px;
margin-left: 0px;
list-style: upper-roman;
}

li.sbaritem {
width: 100px;
margin-left: 0px;
border-bottom: 1px solid #999;
position: relative; text-align: left; }

.sidebar a, sidebar a:link, sidebar a:visited
{
color: #999;
font-family: arial;
font-size: 8pt;
letter-spacing: 1px;
text-align: right;
text-transform: lowercase; }

li.sbaritem a, li.sbaritem a:link, li.sbaritem a:visited {
color: #999;
font-family: arial;
font-size: 8pt;
text-align: right;
text-transform: lowercase;
padding: 30px; position:relative;}

li.sbartitle {display: none;}

table.calendar {display: none;position: left; }

.sbarcalendar {
display: none;
border: 1px solid #999;
color: #999;
font-family: georgia;
font-size: 7.5pt; padding: 5px; }

.sbarcalendarposts {
display: none;
border: 1px solid #999;
color: #999;
font-family: georgia;
font-size: 7.5pt; padding: 5px; }

ul.sbarlist {margin-left: 0px; list-style: none; padding-left: 0px;}

.defaultuserpic img {
position: relative;
float: left;
padding: 30px;
text-align: center;
background: transparent!important;
z-index: 15;
border: 0px solid #c7c7c7;
padding: 10px; padding-bottom: 5px;
top: 0px;}

.defaultuserpic:hover {
border: #fff 0px solid;
-moz-opacity:.5;
opacity:.5;
filter:alpha(opacity=50);
}

#header {display: none;}

.headerimage {
position: relative;
width: 0px;
height: 0px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
background-image:url();
background-repeat: no-repeat;
padding: 0px;
}

div#header a, div#header a:link, div#header a:visited, div#footer a, div#footer a:link, div#footer a:visited {
color: #a2a2a2;}

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

.title, .subtitle {
display: none; }

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

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

.entry
{
padding: 20px;
font-family: "arial", sans-serif;
font-size: 8pt;
background-color: #f9f9f9;
color: #222;
min-height: 100px;
border: 0px solid #c7c7c7;
width:850px; border-bottom: 10px solid #222;
position: relative; margin: 0px auto;
}

.entry_text {
background-color: #fff;
background-image: url(http://i29.tinypic.com/2hf48qb.png);
padding: 10px; padding-bottom: 11px; position: relative;width: 825px!important;}

.subcontent {}

.userpic {
position: absolute;
top: 40px;
float: right;
text-align: center;
background: transparent!important;
font-family: "georgia", sans-serif;
font-size: 9pt;
z-index: 5;
right: -110px;
border: 0px solid #c7c7c7;
padding: 10px;
}

.userpicfriends {
position: absolute;
top: 40px;
float: right;
text-align: center;
color: #999;
background: transparent!important;
font-family: "georgia" Helvetica;
font-size: 9pt;
z-index: 5;
right: -110px;
border: 0px solid #c7c7c7;
padding: 10px;
}

.userpicfriends a font {
font-family: georgia, verdana, sans-serif;
font-size: 7pt;
color: #999;}

.userpicfriends a:hover font {color: #999}

.date
{
display: inline;
line-height: 0px;
color: #a2a2a2;
background-color: transparent!important;
text-transform: lowercase;
font-size: 7pt;
font-family: georgia;
}

.subject
{
display: inline;
padding: 5px;
color: #222;
font-family: arial black;
font-size: 15pt;
text-transform: lowercase;
letter-spacing: -1px;
}

.subject a, subject a:hover
{
display: inline;
color: #222!important;
background: transparent!important;
font-family: arial black!important;
font-size: 15pt!important;
letter-spacing: -1px!important;
text-decoration: none!important;
text-transform: lowercase!important;
padding: 5px!important;
}

.datesubject
{
display: inline;
background: transparent!important;
border-bottom: 0px solid #eeeeee; padding-top: 0px; text-align: left!important;
}

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

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

.currents {
margin-top: 0px; }

.currents, .currentmusic {
color: #a2a2a2;
text-align: left;
font-size: 7.5pt;
font-family: "arial",sans-serif;
padding: 3px;
}

.currentlocation { display: none; }

.currentmood strong, .currentmusic strong, .currentlocation strong, .currentgroups, .currentmood {
display: none; }

.ljtags {
font-size: 0pt;
color: #a2a2a2;
text-transform: lowercase;
text-align: left;
padding:0px;
position: relative;
top: 45px; margin-left: -5px; }

.ljtags a, .ljtags a:link, .ljtags a:visited {padding: 2px;
font-size: 7.5pt;
color: #a2a2a2;
font-family: arial;
}

.comments {
color: transparent!important;
text-align: left;
padding: 0px;
position: relative;
top: 10px; margin-left: -10px;
}

div.comments a, div.comments a:link, div.comments a:visited{
font-family: "arial", sans-serif;
color: #222;
font-size: 15pt;
text-transform: lowercase;
font-weight: lighter;
text-align: right;
padding: 5px;
}

div.comments a:hover {
font-family: "arial", sans-serif;
color: #333;
font-size: 15pt;
text-transform: lowercase;
font-weight: lighter;
text-align: right;
padding: 5px;
}

.separator{height: 35px;}

#footer {
width: 100%;
text-align: center;
font-family: "georgia", sans-serif;
font-size: 7.5pt;
font-weight: none;
letter-spacing: 0px;
background-color: transparent!important;
color: #999;
z-index: 50;
}

div#footer a, div#footer a:link, div#footer a:visited {
font-family: "arial" Helvetica, sans-serif;
color: #738f45;
font-size: 12pt;
}

div#footer a:hover {
font-family: "arial" Helvetica, sans-serif;
color: #000000;
font-size: 12pt;
}

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

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

.clearfoot {clear: both;}

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: 0px;
border-style: solid;
border-color: #999999;
}

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

td.yearmonth {border-style: none;}
.datesubjectcomment
{
font-family: "arial", sans-serif;
font-size: 8pt;
text-transform: lowercase;
color: #a2a2a2;
background: transparent!important;
padding: 10px;
margin-top: 0px;
}

.userpiccomment
{
position: relative;
float: right;
padding: 10px;
margin-top: -15px;
margin-right: -130px;
text-align: center;
background: transparent!important;
font-family: "arial", sans-serif;
font-size: 8pt;
font-weight: lighter;
z-index: 15;
border: 0px solid #c7c7c7;
padding: 10px;
top: 47px;
}

.box
{
border-color: transparent!important;
padding: 10px;
clear: right;
min-width: 400px;
}

input, textarea
{
font-family: arial;
background-color: #0e0e0e; font-size: 8pt;
color: #999; border: 1px solid #0e0e0e;
}

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

.reply
{
position: relative;
margin: 20px;
padding: 20px;
text-align: left;
font-family: "arial", sans-serif;
font-size: 8pt;
line-height: 125%;
background: transparent!important;
border-bottom: 0px solid #000;
color: #222;
font-weight: lighter;
min-width: 400px;
border-bottom: 10px solid #222;
}

.replytosubject {font-weight: lighter;}

.commentreply
{
background: #f9f9f9;
background-image: url();
position: relative;
margin: 10px;
padding: 30px;
font-family: "arial", sans-serif;
font-size: 8pt;
color: #222;
font-weight: lighter;
text-align: center;
min-width: 400px;
border: 0px solid #c7c7c7;
border-bottom: 10px solid #222;
}

.commentbox
{
border: 0px solid transparent!important;
padding: 5px;
margin: 10px;
margin-left: 100px;
background: transparent!important;
border-bottom: 0px solid #071012;
background-image: none;
min-width: 400px;
}

.datesubjectcomment a:link, .datesubjectcomment a:visited
{
color: #222;
font-family: arial black;
font-size: 15pt;
letter-spacing: -1px;
text-transform: lowercase;
font-weight: lighter;
letter-spacing: .1px;
}

.datesubjectcomment a:hover
{
color: #222;
font-family: arial black;
font-size: 15pt;
letter-spacing: -1px;
text-transform: lowercase;
font-weight: lighter;
letter-spacing: .1px;
}

.commentboxpartial
{
padding: 5px;
margin: 5px;
background: #f9f9f9;
background-image: url();
border-bottom: 10px solid #222;
}

.commentinfo
background: #0e0e0e;
background-image: url(); margin-top: 0px; width: 100%;}

#qrform table{ border: 0!important;}

.skiplinks
{
font-family: "arial", sans-serif;
font-size: 8pt;
background-color: transparent!important;
font-color: transparent!important;
text-align: center;
padding: 10px;
letter-spacing: .1pt;
text-transform: lowercase;
}

.clear {height: 0px;}

img[src*="img/userinfo.gif"] {width: 0 !important; vertical-align: middle !important; margin: 0 auto; height: 0 !important;
background: transparent url(http://i44.tinypic.com/256bhw8.jpg) no-repeat; padding: 10px 0 0 10px !important; }
img[src*="img/community.gif"] {width: 0 !important; vertical-align: middle !important; margin: 0 auto; height: 0 !important;
background: transparent url(http://i44.tinypic.com/256bhw8.jpg) no-repeat; padding: 10px 0 0 10px !important; }
img[src*="img/icon_protected.gif"] {width: 0 !important; vertical-align: middle !important; margin: 0 auto; height: 0 !important;
background: transparent url(http://i39.tinypic.com/5l1g20.jpg) no-repeat; padding: 10px 0 0 10px !important; }
img[src*="img/icon_private.gif"] {width: 0 !important; vertical-align: middle !important; margin: 0 auto; height: 0 !important;
background: transparent url(http://i39.tinypic.com/5l1g20.jpg) no-repeat; padding: 10px 0 0 10px !important; }
img[src*="img/icon_groups.gif"] {width: 0 !important; vertical-align: middle !important; margin: 0 auto; height: 0 !important;
background: transparent url(http://i39.tinypic.com/5l1g20.jpg) no-repeat; padding: 10px 0 0 10px !important; }

.ljcmt, .commentbox img[src="http://l-stat.livejournal.com/img/btn_del.gif"]{ width:0; height:0; padding: 0 12px 12px 0; background: url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.ljcmt, .commentbox img[src="http://l-stat.livejournal.com/img/btn_scr.gif"]{ width:0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.ljcmt, .commentbox img[src="http://l-stat.livejournal.com/img/btn_freeze.gif"], .commentbox img[src="http://p-stat.livejournal.com/img/btn_unscr.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.ljcmt, .commentbox img[src="http://l-stat.livejournal.com/img/btn_edit.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.ljcmt, .commentbox img[src="http://l-stat.livejournal.com/img/btn_track.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.ljcmt, .commentbox img[src="http://l-stat.livejournal.com/img/btn_unscr.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.box img[src="http://l-stat.livejournal.com/img/anonymous.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.box img[src="http://l-stat.livejournal.com/img/openid-profile.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.box img[src="http://l-stat.livejournal.com/img/help.gif"]{ width: 0; height: 0; padding: 0 12px 12px 0; background:
url(http://img254.imageshack.us/img254/5927/bulletblackuv2.png); }

.entry .clear {display: none;}
.ljtags {padding-bottom: 5px;}
#qrform table {
border: 0 !important;
}
.lj-view-reply .userpic {margin:0 !important;}
img {max-width: 560px;}

* html .userpic, .userpicfriends {
position: relative; clear: both;
}

*+html userpic, .userpicfriends {
position: relative; clear: both; }

I have a free account, but I use this community with a plus account to code layouts on.

Thanks in advance!

lj and browser issues, free accounts, solved, entries

Previous post Next post
Up