Question

how to correct css on IE8

Asked by: p_chelvan

my web site is working fine until / up to ie7. new IE8 give layout problem.
i am using joomla CMS. how can i fix it.
i checked the other solution no luck

http://luxurycakes.ca

thank you

~~~~~~~~~ index.php ~~~~~~~~~

<?php

defined( '_JEXEC' ) or die( 'Restricted access' );

defined( 'DS') || define( 'DS', DIRECTORY_SEPARATOR );

include_once (dirname(__FILE__).DS.'ja_vars.php');

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">



<head>

<jdoc:include type="head" />

<?php JHTML::_('behavior.mootools'); ?>

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta http-equiv="Content-Style-Type" content="text/css" />

<meta name="verify-v1" content="ob8pTAPUPF/osS3obMR08cR1Wh8vRDiMPdyYeJo9MTI=" >



<link href="<?php echo $tmpTools->templateurl();?>/css/template.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl();?>/scripts/ja.script.js"></script>

<?php $tmpTools->genMenuHead(); ?>



<link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>.css" rel="stylesheet" type="text/css" />



<?php //Include Slimbox ?>

<script type="text/javascript" src="<?php echo $tmpTools->templateurl();?>/slimbox/js/slimbox.js"></script>

<link rel="stylesheet" href="<?php echo $tmpTools->templateurl();?>/slimbox/css/slimbox.css" type="text/css" media="screen" />

<link rel="stylesheet" href="modules/mod_janewslight/ja_newslight/ja-newslight.css" type="text/css" media="screen" />





<!--[if lte IE 6]>

<style type="text/css">

.clearfix {height: 1%;}

</style>

<![endif]-->



<!--[if gte IE 7.0]>

<style type="text/css">

.clearfix {display: inline-block;}

</style>

<![endif]-->



<!--[if gte IE 8.0]>

<style type="text/css">

.clearfix {display: inline-block;}

</style>

<![endif]-->



<?php





if ($tmpTools->isIE6()) {



?>

<script type="text/javascript">

var siteurl = '<?php echo $tmpTools->baseurl();?>';

window.addEvent ('domready', makeTransBG);

function makeTransBG() {

      makeTransBg($$('#ja-cssmenu li ul'), null, 'scale');

      makeTransBg($('features'));

      makeTransBg($('ja-colwrap-top'));

      $$('#ja-rsslide-navigation').each(function(el){

            makeTransBg(el, null, 'scale');

      });

      ie6pnghover ($('ja-rsslide-navigation-left'), '<?php echo $tmpTools->baseurl();?>/modules/mod_ja_rsslide/mod_ja_rsslide/re-left.png', '<?php echo $tmpTools->baseurl();?>/modules/mod_ja_rsslide/mod_ja_rsslide/re-left-hover.png');

      ie6pnghover ($('ja-rsslide-navigation-right'), '<?php echo $tmpTools->baseurl();?>/modules/mod_ja_rsslide/mod_ja_rsslide/re-right.png', '<?php echo $tmpTools->baseurl();?>/modules/mod_ja_rsslide/mod_ja_rsslide/re-right-hover.png');



}

</script>

<style type="text/css">



</style>

<?php } ?>



<?php if (@$_REQUEST['view'] == 'frontpage') {?>

<style type="text/css">

.article_separator {display: none;}

</style>

<?php } ?>



</head>



~~~~~~~css file is~~~~~~~~~

/* COMMON STYLE

--------------------------------------------------------- */

html, body, form, fieldset {

      margin: 0;

      padding: 0;

}



body {

      background: #FFFFFF;

      color: #000000;

      font-family: Tahoma ,Arial, Helvetica, sans-serif;

      line-height: 1.5;

}



body#bd {

      background: url(../images/grad1.gif) repeat-x top #292929;

      color: #CCCCCC;

      padding: 0 0 40px;

}



body.contentpane {

      background: #FFFFFF;

      color: #000000;

      font-family: serif;

      font-size: 12pt;

      line-height: 140%;

      margin: 1em 2em;

      width: auto; /* Printable Page */

}



body.fs1 {

      font-size: 9px;

}



body.fs2{

      font-size: 10px;

}



body.fs3{

      font-size: 11px;

}



body.fs4{

      font-size: 12px;

}



body.fs5{

      font-size: 13px;

}



body.fs6{

      font-size: 14px;

}



/* Normal link */

a {

      color: #F09018;

      text-decoration: none;

}



a:hover, a:active, a:focus {

      color: #F09018;

      text-decoration: underline;

}



/* Title text */

.contentheading, .componentheading, .blog_more strong, h1, h2, h3, .nftitle {

      color: #CCCCCC;

}



/* Small text */

small, .small, .smalldark, .mosimage_caption, .createdate, .modifydate {

      color: #666666;

      font-size: 100%;

}



/* Heading */

h1 {

      font-size: 175%;

}



h2 {

      font-size: 150%;

}



h3 {

      font-size: 125%;

}



h4 {

      font-size: 100%;

      text-transform: uppercase;

}



p, pre, blockquote, ul, ol, h1, h2, h3, h4, h5, h6 {

      margin: 15px 0;

      padding: 0;

}



ul {

      list-style: none;

}



ul li {

      background: url(../images/bullet-list.gif) no-repeat 18px 8px;

      line-height: 180%;

      padding-left: 30px;

}



ol li {

      line-height: 180%;

      margin-left: 35px;

}



th {

      font-weight: bold;

      padding: 5px;

      text-align: left;

}



fieldset {

      border: none;

      background: url(../images/hdot.gif) repeat-x bottom left;

      padding-bottom: 20px;

}



fieldset a {

      font-weight: bold;

}



hr {

      border-bottom: 0;

      border-left: 0;

      border-right: 0;

      border-top: 1px solid #CCCCCC;

      height: 1px;

}



a img {

      border: none;

}



td, div {

      font-size: 100%;

}



address {

      font-style: normal;

}



/* FORM

--------------------------------------------------------- */

form {

      margin: 0;

      padding: 0;

}



form label {

      cursor: pointer;

}



input, select, textarea, .inputbox {

      font-family: Tahoma, Arial, sans-serif;

      font-size: 100%;

      padding: 1px;

}



select, textarea, .inputbox {

      background: #FFFFFF;

      color: #666666;

}



.button {

      background: url(../images/but-bg.gif) repeat-x center #000000;

      border: 1px solid #000000;

      color: #CCCCCC;

      padding: 2px 8px;

}



* html .button, *+html .button {

      padding: 2px 5px !important;

}



.inputbox {

      background: #FFFFFF;

      border: 1px solid #999999;

      padding: 2px !important;

}



.inputbox:hover, .inputbox:focus {

      background: #FFFFFF;

      border: 1px solid #F09018;

      

}

.inputbox-hover{

      background: #FFFFFF;

      border: 1px solid #F09018;

      padding:2px;

}

/*

.inputbox-select-hover{

      background: #FFFFFF;

      border: 2px solid red;

      padding:0px;

      margin:2px 0pt 0pt;

}*/

/* BONUS TYPOGRAPHY STYLES

--------------------------------------------------------- */

pre, .code {

      background: #333333;

      border-left: 5px solid #141414;

      margin: 5px 0 15px;

      padding: 10px 15px;

}



blockquote {

      padding: 1em 40px 1em 15px;

}



blockquote span.open {

      background: url(../images/so-q.gif) no-repeat left top;

      padding: 3px 0 3px 20px;

}



blockquote span.close {

      background: url(../images/sc-q.gif) no-repeat bottom right;

      padding: 3px 20px 3px 0;

}



/* Blockquote home */

blockquote.home {

      margin: 0 0 5px 0;

      padding: 0;

}



.home span.open {

      background: url(../images/open-q.gif) no-repeat left top;

      padding: 1px 0 2px 15px;

}



.home span.close {

      background: url(../images/close-q.gif) no-repeat right bottom;

      padding: 2px 15px 1px 0;

}



/* Dropcap */

.dropcap {

      color: #F09018;

      display: block;

      float: left;

      font: 50px/40px Georgia, Times, serif;

      padding: 2px 8px 0 0;

}



/* Tips, Error, Message, Hightlight*/

.error {

      background: url(../images/bullet-error.gif) no-repeat top left;

      color: #FF3131;

      padding-left: 25px;

}



.message {

      background: url(../images/bullet-info.gif) no-repeat top left;

      color: #00AEEF;

      padding-left: 25px;

}



.tips {

      background: url(../images/bullet-tips.gif) no-repeat top left;

      color: #F09018;

      padding-left: 25px;

}



.highlight {

      font-weight: bold;

      padding: 1px;

      border-bottom: 1px dotted #F09018;

      color: #F09018;

}



/* Note Style */

p.stickynote {

      background: url(../images/sticky-bg.gif) no-repeat 10px 4px #424242;

      border: 1px solid #4F4F4F;

      padding: 10px 20px 20px 60px;

}



p.download {

      background: url(../images/download-bg.gif) no-repeat 10px 6px #424242;

      border: 1px solid #4F4F4F;

      padding: 10px 20px 20px 60px;

}



.blocknumber {

      clear: both;

      padding: 5px 15px 10px;

      position: relative;

}



/* Check list */

ul.checklist {

      list-style: none;

}



ul.checklist li {

      background: url(../images/checklist-bg.gif) no-repeat 3px 6px;

      margin-left: 10px;

      padding: 0 0 2px 20px;

}



/* Star list */

ul.stars {

      list-style: none;

}



ul.stars li {

      background: url(../images/bullet-star.gif) no-repeat 2px 4px;

      margin-left: 10px;

      padding: 0px 0 2px 20px;

}



/* Arrow list */

ul.arrow {

      list-style: none;

}



ul.arrow li {

      background: url(../images/list-arrow.gif) no-repeat 6px 6px;

      margin-left: 10px;

      padding: 0px 0 2px 20px;

}



/* Smallnumber */

ol.smallnumber {

      list-style: none;

      margin: 0;

      padding: 0;

}



ol.smallnumber li {

      line-height: 150%;

      margin: 10px 0 10px 20px;

      padding: 3px 0 5px 40px;

}



ol.smallnumber li.number-1 {

      background: url(../images/n-1.gif) no-repeat left top;

}



ol.smallnumber li.number-2 {

      background: url(../images/n-2.gif) no-repeat left top;

}



ol.smallnumber li.number-3 {

      background: url(../images/n-3.gif) no-repeat left top;

}



ol.smallnumber li.number-4 {

      background: url(../images/n-4.gif) no-repeat left top;

}



ol.smallnumber li.number-5 {

      background: url(../images/n-5.gif) no-repeat left top;

}



ol.smallnumber li.number-6 {

      background: url(../images/n-6.gif) no-repeat left top;

}



ol.smallnumber li.number-7 {

      background: url(../images/n-7.gif) no-repeat left top;

}



ol.smallnumber li.number-8 {

      background: url(../images/n-8.gif) no-repeat left top;

}



ol.smallnumber li.number-9 {

      background: url(../images/n-9.gif) no-repeat left top;

}



/* Bignumber */

.bignumber {

      background: url(../images/ol-bg.gif) no-repeat top left;

      color: #FFFFFF;

      display: block;

      float: left;

      font: bold 20px/normal Arial, sans-serif;

      margin-right: 8px;

      padding: 7px 7px 5px 7px;

}



/* Talking box. Thinking box. */

div.bubble1, div.bubble2, div.bubble3, div.bubble4 {

      margin: 15px 0;

}



div.bubble1 span.author,

div.bubble2 span.author,

div.bubble3 span.author,

div.bubble4 span.author {

      background: url(../images/icon-user.gif) no-repeat center left;

      font-weight: bold;

      margin-left: 15px;

      padding-left: 15px;

}



div.bubble1 div {

      background: url(../images/bub1-br.gif) no-repeat bottom right;

      margin: 0;

      width: 100%;

}



div.bubble1 div div {

      background: url(../images/bub1-bl.gif) no-repeat bottom left;

}



div.bubble1 div div div {

      background: url(../images/bub1-tr.gif) no-repeat top right;

}



div.bubble1 div div div div {

      background: url(../images/bub1-tl.gif) no-repeat top left;

}



div.bubble1 div div div div div {

      margin: 0;

      padding: 15px 15px 30px 15px;

      width: auto;

}



div.bubble2 div {

      background: url(../images/bub2-br.gif) no-repeat bottom right;

      margin: 0;

      width: 100%;

}



div.bubble2 div div {

      background: url(../images/bub2-bl.gif) no-repeat bottom left;

}



div.bubble2 div div div {

      background: url(../images/bub2-tr.gif) no-repeat top right;

}



div.bubble2 div div div div {

      background: url(../images/bub2-tl.gif) no-repeat top left;

}



div.bubble2 div div div div div {

      margin: 0;

      padding: 15px 15px 35px 15px;

      width: auto;

}



div.bubble3 div {

      background: url(../images/bub3-br.gif) no-repeat bottom right;

      margin: 0;

      width: 100%;

}



div.bubble3 div div {

      background: url(../images/bub3-bl.gif) no-repeat bottom left;

}



div.bubble3 div div div {

      background: url(../images/bub3-tr.gif) no-repeat top right;

}



div.bubble3 div div div div {

      background: url(../images/bub3-tl.gif) no-repeat top left;

}



div.bubble3 div div div div div {

      margin: 0;

      padding: 15px 15px 50px 15px;

      width: auto;

}



div.bubble4 div {

      background: url(../images/bub4-br.gif) no-repeat bottom right;

      margin: 0;

      width: 100%;

}



div.bubble4 div div {

      background: url(../images/bub4-bl.gif) no-repeat bottom left;

}



div.bubble4 div div div {

      background: url(../images/bub4-tr.gif) no-repeat top right;

}



div.bubble4 div div div div {

      background: url(../images/bub4-tl.gif) no-repeat top left;

}



div.bubble4 div div div div div {

      margin: 0;

      padding: 15px 15px 55px 15px;

      width: auto;

}



/* Legend */

.legend-title {

      background: #292929;

      display: block;

      color: #FFFFFF;

      float: left;

      font-size: 100%;

      font-weight: bold;

      left: 7px;

      margin: 0;

      padding: 0 4px;

      position: absolute;

      top: -10px;

      text-transform: uppercase;

}



.legend {

      background: #292929;

      border: 1px solid #4F4F4F;

      margin: 15px 0;

      padding: 0 10px;

      position: relative;

}



/* JOOMLA STYLE

--------------------------------------------------------- */

table.blog {

}



.article_separator {

      background: url(../images/hdot.gif) repeat-x center;

      display: block;

      height: 30px;

}



#ja-col1 .article_seperator, #ja-col2 .article_seperator {

      display: none;

}



table.contentpane {

      border: none;

      width: 100%;

}



table.contentpaneopen {

      border: none;

      border-collapse: collapse;

      border-spacing: 0;

}



table.contenttoc {

      margin: 0 0 10px 10px;

      padding: 0;

      width: 35%;

}



table.contenttoc a {

}



table.contenttoc td {

      background: url(../images/bullet-list.gif) no-repeat 10px 9px;

      padding: 3px 5px 3px 22px;

}



table.contenttoc th {

      background: #505050;

      border: 1px solid #292929;

      border-bottom-width: 5px;

      font-weight: bold;

      padding: 5px;

      text-transform: uppercase;

      text-indent: 5px;

}



table.poll {

      border-collapse: collapse;

      padding: 0;

      width: 100%;

}



table.pollstableborder {

      border: none;

      padding: 0;

      text-align: left;

      width: 100%;

}



table.pollstableborder .sectiontableheader {

      padding: 8px 5px !important;

}



table.pollstableborder img {

      vertical-align: baseline;

}



table.pollstableborder td {

      border-collapse: collapse;

      border-spacing: 0;

      padding: 2px!important;

}



table.pollstableborder tr.sectiontableentry1 td {

      background: #333333;

      border: none;

}



table.pollstableborder tr.sectiontableentry2 td {

      border: none;

}



table.searchintro {

      padding: 10px 0;

      width: 100%;

}



table.searchintro td {

      padding: 5px !important;

}



table.adminform {

      width: 500px !important; /*Control the Frontend Editor area width*/

}



.adminForm input.inputbox {

      width: 200px !important;

}



.adminForm textarea.inputbox {

      width: 335px !important;

}



.blog_more {

      margin: 10px 0 20px;

      background: #333333;

      padding: 10px;

}



.blog_more strong {

      display: block;

      font-size: 155%;

      margin: 0 0 8px;

}



.blog_more ul {

      margin: 0;

      padding: 0;

}



.blog_more ul li {

      background: url(../images/bullet-list.gif) no-repeat 2px 9px;

      margin: 0;

      padding: 0 0 0 13px;

}



td.buttonheading {

      padding: 0 0 0 8px!important;

      text-align: center;

}



.category {

      font-weight: bold;

}



.clr {

      clear: both;

}



.componentheading {

      background: url(../images/dot.gif) repeat-x bottom;

      color: #CCCCCC;

      font-size: 250%;

      margin-bottom: 10px;

      padding: 0 0 5px 0;

}



.contentdescription {

      padding-bottom: 30px;

}



.contentheading {

      font-size: 200%;

      padding: 5px 0;

}



a.contentpagetitle:hover,

a.contentpagetitle:active,

a.contentpagetitle:focus {

      color: #FFFFFF;

      text-decoration: none;

}



a.readon {

      display: block;

      float: left;

      padding: 1px 5px;

      background: #333333;

      border: 2px solid #333333;

}



a.readon:hover, a.readon:active, a.readon:focus {

      background: #F09018;

      border: 2px solid #333333;

      text-decoration: none;

      color: #FFFFFF;

}



table.contentpaneopen td, table.contentpane td {

}



table.contentpaneopen, table.contentpane, table.blog {

      width: 100%;

}



.createdate {

}



.modifydate {

      height: 15px;

}



.moduletable, .moduletable_menu {

      padding: 0;

}



.mosimage {

      margin: 5px 15px 5px 0;

      padding: 0 0 5px;

}



* html .mosimage {

      margin: 5px 5px 10px 0;

      padding: 0 !important; /*IE 6*/

}



*+html .mosimage {

      margin: 5px 10px 10px 0;

      padding: 0 !important; /*IE 7*/

}



.mosimage img {

      margin: 0 !important;

      padding: 0 !important;

}



.mosimage_caption {

      margin-top: 3px;

      padding: 1px 2px;

}



.pagenav,

.pagenav_prev,

.pagenav_next,

.pagenavbar {

      padding: 0 2px;

}



a.pagenav,

.pagenav_prev a,

.pagenav_next a,

.pagenavbar a {

      border: 1px solid #505050;

      color: #CCCCCC;

      padding: 3px 6px !important;

      padding: 1px 4px ;

      text-decoration: none;

}



a.pagenav:hover, a.pagenav:active,

.pagenav_prev a:hover, .pagenav_prev a:active,

.pagenav_next a:hover, .pagenav_next a:active,

.pagenavbar a:hover, .pagenavbar a:active {

      background: #F09018;

      color: #FFFFFF;

      padding: 3px 6px;

      text-decoration: none;

}



.pagenavbar {

      background: url(../images/pages.gif) no-repeat center left;

      padding-left: 14px;

}



.pagenavcounter {

      background: url(../images/pages.gif) no-repeat 0 11px;

      padding: 8px 14px 0 14px;

}



.sectiontableheader {

      background: #505050;

      border: 1px solid #292929;

      font-weight: bold;

      padding: 5px;

      text-transform: uppercase;

}



tr.sectiontableentry1 td {

      background: url(../images/hdot.gif) repeat-x bottom;

      padding: 7px 5px;

}



tr.sectiontableentry2 td {

      background: url(../images/hdot.gif) repeat-x bottom;

      padding: 7px 5px;

}



.smalldark {

      text-align: left;

}



div.syndicate div {

      text-align: center;

}



.pollstableborder tr.sectiontableentry1 td,

.pollstableborder tr.sectiontableentry2 td {

      background: none;

}



/* MAIN LAYOUT DIVS

--------------------------------------------------------- */

#ja-wrapper {

      clear: both;

      margin: 0 auto;

      width: 950px;

}



.narrow #ja-wrapper {

      width: 770px;

}



/* PRIMARY COLUMN

--------------------------------------------------------- */

#ja-content {

      background: url(../images/content-center.gif) repeat-y;

      float: left;

      width: 58%;

}



#ja-content div.ja-innerpad {

      clear: both;

      display: block;

      margin: 0;

      padding: 0 0 0 3px;

}



/* SECONDARY COLUMNS

--------------------------------------------------------- */

#ja-colwrap {

      background: url(../images/col-center.gif) repeat-y center top;

      float: right;

      overflow: hidden;

      width: 40%;

}



#ja-colwrap-top {

      background: url(../images/col-top.png) no-repeat top;

}



#ja-colwrap-bot {

      background: url(../images/col-bot.gif) no-repeat bottom;

      overflow: hidden;

}



.narrow #ja-colwrap {

      background: url(../images/col-center-n.gif) repeat-y center top;

}



.narrow #ja-colwrap-top {

      background: url(../images/col-top-n.png) no-repeat top;

}



.narrow #ja-colwrap-bot {

      background: url(../images/col-bot-n.gif) no-repeat bottom;

}



#ja-col1 {

      float: left;

      overflow: hidden;

      width: 50%;

}



#ja-col1 div.ja-innerpad{

      padding: 15px;

}



#ja-col2 {

      float: right;

      overflow: hidden;

      width: 49.9%;

}



#ja-col2 div.ja-innerpad{

      padding: 15px;

}



#ja-col1 table, #ja-col2 table {

      border-collapse: collapse;

      border-spacing: 0;

}



#ja-col1 ul, #ja-col2 ul {

      margin: 0;

      padding: 0;

}



#ja-col1 ul li, #ja-col2 ul li {

      background: url(../images/bullet-list.gif) no-repeat 2px 8px;

      padding-left: 13px;

}



#ja-masscol .article_seperator {

      display: none;

}



/* COLLAPSIBLE LAYOUT

--------------------------------------------------------- */

#ja-containerwrap, #ja-containerwrap-c, #ja-containerwrap-f {

      padding: 0;

}



#ja-container {

      padding: 15px 0;

}



/* full */

#ja-containerwrap-f #ja-content {

      float: none;

      width: 100%;

}



/* content + col */

#ja-containerwrap-c #ja-content {

      width: 76%;

}



#ja-containerwrap-c #ja-colwrap {

      width: 22%;

      background: none;

}



#ja-containerwrap-c #ja-colwrap-top {

      background: none;

}



#ja-containerwrap-c #ja-colwrap-bot {

      background: none;

}



#ja-containerwrap-c #ja-col1,

#ja-containerwrap-c #ja-col2 {

      width: 100%;

}



/* HEADER

--------------------------------------------------------- */

#ja-headerwrap {

      position: relative;

      z-index: 10;

}



#ja-header {

      height: 90px;

      position: relative;

      z-index: 999;

}



h1.logo {

      font-size: 300%;

      height: 80px;

      left: 0;

      margin: 0;

      padding: 0;

      position: absolute;

      top: 0;

      width: 370px;

}



h1.logo a {

      background: url(../images/logo.gif) no-repeat;

      display: block;

      float: left;

      height: 80px;

      outline: none;

      text-indent: -5000px;

      text-transform: uppercase;

      width: 370px;

}



/* MAIN NAVIGATION

--------------------------------------------------------- */

#ja-mainnav {

      height: 40px;

      z-index: 10;

      background: url(../images/mainnav-bg.gif) repeat-x #252525;

      position: relative;

}



#ja-mainnav a,

#ja-mainnav a:hover,

#ja-mainnav a:active,

#ja-mainnav a:focus {

      outline: none;

}



#ja-mainnav span.separator {

      display: block;

}



/* Default Joomla! Menu */

a.mainlevel {

      color: #CCCCCC;

      display: block;

      padding: 6px 0 7px;

      text-decoration: none;

      text-indent: 5px;

      width: 99%;

      background: url(../images/hdot.gif) repeat-x bottom left;

}



a.mainlevel:hover,

a.mainlevel:active,

a.mainlevel:focus {

      color: #F09018 !important;

      text-decoration: none;

      background: url(../images/hdot.gif) repeat-x bottom left #333333;

}



a.mainlevel#active_menu {

      color: #FFFFFF;

      font-weight: bold;

      background: url(../images/mainlevel-active.gif) no-repeat bottom right;

}



a.sublevel {

      background: url(../images/bullet-list.gif) no-repeat 5px 12px;

      color: #CCCCCC;

      display: block;

      padding: 5px 4px 5px 15px;

      text-decoration: none;

}



a.sublevel:hover,

a.sublevel:active,

a.sublevel:focus {

      color: #F09018;

      text-decoration: underline;

}



#active_menu {

      color: #F09018;

      font-weight: bold;

}



/* Topnav */

#ja-topnav {

      position: absolute;

      top: 10px;

      right: 20px;

}



#ja-topnav ul {

      float: left;

      margin: 0;

      padding: 0;

}



#ja-topnav li {

      background: none;

      display: inline;

      margin: 0;

      padding: 0;

}



#ja-topnav li a {

      background: url(../images/vline.gif) no-repeat center right;

      display: inline;

      padding: 0 10px;

      color: #999999;

}



/* Pathway*/

#ja-pathway {

      height: 27px;

      line-height: 27px;

      text-indent: 3px;

}



#ja-pathway img {

      margin: 0 5px 1px;

}



#ja-pathway a {

}



/* MODULE

--------------------------------------------------------- */

div.moduletable h3,

div.moduletable_menu h3 {

      color: #F09018;

      font-size: 115%;

      line-height: normal;

      margin: 0 0 10px;

      padding: 0 0 5px;

      text-transform: uppercase;

      border-bottom: 1px solid #4f4f4f;

}



div.moduletable,

div.moduletable_menu {

      padding: 10px 10px 15px;

      margin: 10px 0 10px 10px;

}



#ja-topsl-col1 div.moduletable h3,

#ja-topsl-col1 div.moduletable_menu h3 {

      margin: 0 -10px 8px;

      padding: 5px 10px;

      border: 1px solid #141414;

      background: #252525;

}



#ja-topsl-col1 div.moduletable,

#ja-topsl-col1 div.moduletable_menu {

      margin-top: 0;

      margin-bottom: 0;

}



#ja-containerwrap-c div.moduletable,

#ja-topsl-col2 div.moduletable,

#ja-containerwrap-c div.moduletable_menu,

#ja-topsl-col2 div.moduletable_menu {

      border: 1px solid #141414;

      background: #252525;

}



#ja-topsl-col2 div.moduletable,

#ja-topsl-col2 div.moduletable_menu {

      padding-bottom: 20px;

}



#ja-col1 div.moduletable,

#ja-col1 div.moduletable_menu {

      margin: 5px 0 10px 15px;

}



#ja-col2 div.moduletable,

#ja-col2 div.moduletable_menu {

      margin: 5px 5px 10px 0;

}



div.module h3,

div.module_menu h3 {

      font-size: 115%;

      margin: 0px -10px 0px -10px;

      padding-right:-10px;

      height: 33px;

      line-height: 33px;

      white-space: nowrap;

      text-transform: uppercase;

      text-align: center;

      /*background: url(../images/h3-bg.png) no-repeat center;*/

}

div.module div div, div.module_menu div div {

      background: url(../images/h3-bg.png) no-repeat top center;

}



div.module-notitle div div,

div.module div div div,

div.module_menu div div div {

      background: none;

}



div.module,

div.module-notitle,

div.module_menu {

      margin: 0 5px 15px;

      overflow: hidden;

      padding: 0;

}



div.module div,

div.module-notitle div,

div.module_menu div {

      padding: 0;

      border: 1px solid #141414;

}



div.module div div,

div.module-notitle div div,

div.module_menu div div {

      padding: 0px 10px;

      border: 1px solid #505050;

}



div.module div div div,

div.module-notitle div div div,

div.module_menu div div div {

      padding: 0;

      border: none;

}



div.module div div div div,

div.module-notitle div div div div,

div.module_menu div div div div

{

      overflow: hidden;

}



/* SPOTLIGHT

--------------------------------------------------------- */

/* Spotlight Box Style */

.ja-box-left, .ja-box-center, .ja-box-right {

      float: left;

      overflow: hidden;

}



.ja-box-full {

      float: none;

      overflow: hidden;

      margin: 0;

}



.ja-box-left div.moduletable,

.ja-box-left div.moduletable_menu {

      margin: 0 5px 0 0;

}



.ja-box-right div.moduletable,

.ja-box-left div.moduletable_menu {

      margin: 0 0 0 5px;

}



.ja-box-center div.moduletable,

.ja-box-center div.moduletable_menu {

      margin: 0 5px;

}



/* Top Spotlight */

#ja-topsl {

      margin: 10px 0;

      background: url(../images/dot.gif) repeat-x bottom left;

      padding-bottom: 10px;

}



#ja-topsl-main {

      width: 58%;

      float: left;

      margin-top: 8px;

}



#ja-topsl-cols {

      width: 40%;

      float: right;

}



#ja-topsl-col1 {

      width: 50%;

      float: left;

}



#ja-topsl-col2 {

      width: 50%;

      float: right;

}



#ja-topsl ul {

      margin: 0;

      padding: 0;

}



#ja-topsl li {

      background: url(../images/bullet-star.gif) no-repeat 4px 4px;

      margin: 0;

      padding-left: 22px;

}



#ja-topsl a.readon:hover, #ja-topsl a.readon:active, #ja-topsl a.readon:focus {

      color: #FFFFFF;

}



/* Bottom Spotlight */

#ja-botsl {

      clear: both;

      padding: 0;

}



/* Common Style for Spotlight */

#ja-botsl ul {

      margin: 0 0 0 2px;

      padding: 0;

}



#ja-botsl li {

      background: url(../images/bullet-list.gif) no-repeat 0 8px;

      margin: 0;

      padding-left: 12px;

}



#ja-topsl td, #ja-botsl td {

      padding: 0;

}



#ja-topsl .article_seperator, #ja-botsl .article_seperator {

      display: none;

}



#ja-topsl table, #ja-botsl table {

      border-collapse: collapse;

      border-spacing: 0;

}



#ja-topsl a, #ja-topsl a:hover, #ja-topsl a:active, #ja-topsl a:focus,

#ja-botsl a, #ja-botsl a:hover, #ja-botsl a:active, #ja-botsl a:focus {

      color: #CCCCCC;

}



/* FOOTER

--------------------------------------------------------- */

#ja-footerwrap {

      clear: both;

      margin-top: 10px;

}



#ja-footer {

      background: url(../images/dot.gif) repeat-x top;

      clear: both;

      padding: 10px 0 0;

      position: relative;

}



#ja-footer small {

      color: #999999;

      display: block;

      float: left;

      font-style: normal;

      line-height: normal;

      padding: 4px 0 0 10px;

}



#ja-footer a {

      text-decoration: none;

}



#ja-footer a:hover, #ja-footer a:active, #ja-footer a:focus {

      text-decoration: underline;

}



/* USER TOOLS

--------------------------------------------------------- */

#ja-usertoolswrap {

      float: right;

      margin-top: 12px;

      width: 15px;

      height: 20px;

      display: block;

      background: url(../images/arrow3.gif) no-repeat 50% 5px;

      position: relative;

      z-index: 99;

}



#ja-usertoolswrap:hover, #ja-usertoolswrap.ja-toolswraphover {

      background: url(../images/arrow4.gif) no-repeat 50% 5px;

}



span.ja-sitetool {

      margin: 0;

      width: 15px;

      height: 20px;

      display: block;

      cursor: pointer;

}



#ja-usertoolswrap:hover #ja-usertools,

#ja-usertoolswrap.ja-toolswraphover #ja-usertools {

      display: block;

      top: 20px;

      right: 0;

}



#ja-usertools {

      padding: 0;

      float: right;

      display: none;

      background: #CCCCCC;

      border: 1px solid #999999;

      font-size: 11px;

      position: absolute;

      top: 100%;

}



#ja-usertools ul {

      float: left;

      margin: 0;

      padding: 4px 5px 2px;

}



#ja-usertools li {

      float: left;

      display: block;

      margin: 0;

      padding: 0;

      background: none;

      line-height: normal;

}



#ja-usertools img {

      padding: 0 2px;

}



/* MISCELLANOUS

----------------------------------------------------------- */

ul.accessibility {

      position: absolute;

      top: -100%;

}



div.ja-innerdiv {

      background: url(../images/hdot.gif) repeat-x bottom left;

      margin: 0 -2px;

      overflow: hidden;

      padding: 8px 3px;

}



div.ja-innerdiv:hover {

      background: url(../images/hdot.gif) repeat-x bottom left #333333;

}



#ja-banner {

      clear: both;

      display: block;

      margin: 10px 0 0;

      text-align: center;

}



div.back_button a,

div.back_button a:hover,

div.back_button a:active {

}



/* Login Form */

#ja-login {

      position: absolute;

      bottom: 20px;

      right: 0;

}



#ja-login form {

      float: left;

}



#ja-login form label {

      float: left;

}



label.ja-login-user span {

      display: block;

      float: left;

      text-indent: -5000px;

      background: url(../images/icon-user.gif) no-repeat center left;

      width: 20px;

      height: 20px;

}



label.ja-login-password span {

      display: block;

      float: left;

      text-indent: -5000px;

      background: url(../images/icon-key.gif) no-repeat center left;

      width: 20px;

      height: 20px;

}



#ja-login form input.button {

      font-size: 11px !important;

      float: left;

}



#ja-login form #mod_login_username,

#ja-login form #mod_login_password {

      width: 110px;

      margin: 1px 8px 0 0;

}



#ja-login form a {

      padding-left: 5px;

      border-left: 1px solid #CCCCCC;

}



/* Quick Jump */

#ja-qj {

      display: block;

      height: 28px;

      position: absolute;

      right: 10px;

      top: 5px;

}



#ja-qj .inputbox {

      color: #333333;

      font-size: 11px;

      margin: 2px 0 0;

      padding: 2px 2px 2px 4px;

      width: 165px;

}



/* search */

#ja-search {

      background: url(../images/icon-search.gif) no-repeat center left;

      padding-left: 20px;

      position: absolute;

      right: 8px;

      top: 10px;

}



#ja-search #mod_search_searchword{

      /*border: 1px solid #141414;*/

      width: 150px;

}



#ja-search #mod_search_searchword:hover, #ja-search #mod_search_searchword:focus {

      border: 1px solid #F09018;

}



/* RS Gallery elements */

ul#ja-rsmenu {

      margin: 0;

      padding: 0;

}



ul#ja-rsmenu li {

      margin: 0;

      padding: 0;

      background: none;

}



.rsg2 div.moduletable,

.rsg2 div.moduletable_menu {

      margin: 20px 0 10px;

}



.rsg2-pageNav {

      text-align: center;

}



div.rsg2-toolbar {

      margin-top: 10px;

}



div.rsg2-toolbar a {

      padding: 0;

      text-transform: uppercase;

      outline: none;

      font-size: 125%;

      font-weight: bold;

      display: block;

      position: relative;

      height: 30px;

      background: url(../images/download_f2.png) no-repeat 5px 5px;

}



div.rsg2-toolbar a span {

      position: absolute;

      top: 25%;

      left: 40%;

}



div.rsg2-toolbar a br {

      display: none;

}



div.rsg2-toolbar a img {

      display: none;

}



div.rsg2-mygalleries-links a {

      color: #F09018 !important;

}



div.rsg2-mygalleries-links a:hover,

div.rsg2-mygalleries-links a:focus,

div.rsg2-mygalleries-links a:active {

      color: #F09018 !important;

}



/*votting*/

.star-rating {

      background: url(../images/star_rating.png) top left repeat-x;            

}



.star-rating li a:hover{

      background: url(../images/star_rating.png) left bottom;

}



a.active-full {

      background: url(../images/star_rating.png) left bottom;

}



a.active-full:hover {

      background: url(../images/star_rating.png) top left;

}



a.active-half {

      background: url(../images/star_half.png) left bottom;

}



/* Clearfix */

.clearfix:after {

      clear: both;

      content: ".";

      display: block;

      height: 0;

      visibility: hidden;

}



* html > body .clearfix {

      display: block;

      width: 100%;

}



* html .clearfix {

      height: 1%;

}



/* Firefox Scrollbar Hack - Do not remove */

html {

      height: 100% !important;

      height: auto;

      margin-bottom: 1px;

}

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-04 at 08:48:04ID24625129
Tags

css ie8 fix

Topic

Cascading Style Sheets (CSS)

Participating Experts
2
Points
0
Comments
4

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. CSS problem in Firefox
    I have a JSP page in which I am including a CSS. First on the basis if some condition relevant CSS is picked. String strCSS = null; if(name.equals("one")) { strCSS = "abc.css"; } else { strCSS = "xyz.css"; } then I am applying this CSS...
  2. CSS problem in Firefox
    I am accessing my site (deployed on Weblogic) through Apache Web Server. It is working absolutely fine when accessed from IE. But when I access my site though Firefox, the CSS is not at all applied to the site. In the Javascript console I get the message Error: The styleshe...
  3. CSS based blog (header shifts over in firefox and Safari …
    I have a blog that I built using Wordpress and CSS. It looks great in Internet Explorer. But if you look at it in Firefox on a PC or Mac or if you look at it in Safari on a Mac, the header area gets a little wider for some reason. So, then it looks weird because the right edg...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: chilternPCPosted on 2009-08-04 at 09:00:44ID: 25015146

a quick and dirty fix will do is you put the putting just after the <head> tag>

<meta http-equiv="X-UA-Compatible" content="IE=7">

it will force the IE8 to run the website as IE7

 

by: chilternPCPosted on 2009-08-04 at 18:05:18ID: 25019545

remove the following lines and retry....

<!--[if gte IE 8.0]>

<style type="text/css">

.clearfix {display: inline-block;}

</style>

<![endif]-->

 

by: selvolPosted on 2009-08-05 at 03:22:25ID: 25021763

Here's that long CSS after "tidy" processed it.  

Not sure if it will assist but here it is. Attached txt

SeLvol

 

by: p_chelvanPosted on 2009-08-19 at 07:26:18ID: 25133010

Thank you chilternPC

i tried the  code
<meta http-equiv="X-UA-Compatible" content="IE=7">

but not working, after bit of research i found this is working. this will hide the compatibility button on IE 8

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...