Few Theme CSS Problems with FireFox on my Site
-
I have a problem. Please check this site: https://sports2all.com/misc/
First Problem:
when i open the page with Google chrome or internet explore, The Distance between the Sidebar and the Main content is 10px.But when i open it with Firefox. there is no distance. and it looks ugly.
So i traced the problem to a css code. And have no solution for it. since i am not a coder.
My css is :
body{font-family:Arial, Arial, Helvetica, sans-serif;font-size:12px;color:#000000;margin:0;padding:0;} h2, h3{font-size:16px;line-height:20px;color:#00749E;margin:0;padding:0;} .h2{font-family:Arial, Helvetica, sans-serif;line-height:18px;font-size:12px;color:#312E2E;font-weight:700;} a:link,a:visited,a:active{color:#00749E;text-decoration:none;} a:hover{color:#000;text-decoration:underline;} #header{width:1050px;height:95px;margin:0 auto;padding:0;} #header h1.blogtitle{font-family:Arial, Helvetica, sans-serif;margin:0;padding:10px 0 0;} #header p.desc{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;margin:0;padding:0;} #top{background-color:#fff;background-image:url(images/topbck.gif);background-repeat:repeat-x;height:34px;} #ddnav{background-color:#312e2e;height:35px;margin:0;padding:0;} #nav{height:25px;width:1050px;font-weight:700;margin:0 auto;padding:10px 0 0;} ul.nav{height:25px;line-height:25px;float:left;list-style:none;font-size:11px;text-transform:inherit;margin:0;padding:0;} ul.nav li{float:left !important;list-style-type:none;border-right:2px solid #312e2e;margin:0;padding:0;} ul.nav li a,ul.nav li a:link,ul.nav li a:visited{background:url(images/navsilver.gif) repeat-x;color:#818181;float:left;display:block;text-decoration:none;padding:0 15px;} ul.nav li a:hover,ul.nav li a:active{background:url(images/navblue.gif) repeat-x;color:#205387;text-decoration:none;} ul.nav li.current_page_item a{text-decoration:none;background:url(images/navblue.gif) repeat-x;color:#fff;} ul.nav li ul{float:left;margin:0;padding:0;} #main{width:1050px;margin:0 auto;padding:0;} #content{float:left;width:716px;margin:0;padding:0;} .entry{float:left;width:706px;border:1px solid #dadada;background:#fff url('images/box.gif') repeat-x left top;padding:10px; margin-left:0; margin-right:0; margin-top:0; margin-bottom:10px} #sidebar{float:right;width:310px;margin:0;padding:0;} .rsidebar{float:right;width:300px;border:1px solid #dadada;background:#fff url(images/box.gif) repeat-x left top;margin:0 0 10px;padding:10px;} top;margin:0 0 10px;padding:10px;} .rsidebar h2{font-size:12px;border-bottom:#eee 1px solid;margin:0 0 5px;padding:0;} .rsidebar ul{list-style-type:none;margin:0;padding:0;} .rsidebar ul li{list-style-type:none;margin:0 0 10px;padding:0;} .rsidebar ul li ul{list-style-type:square;margin:0;padding:0 3px;} .rsidebar ul li ul li{list-style-type:none;background:transparent url(images/li.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;} .navigation{width:600px;float:left;color:#666;} .alignright{float:right;margin-top:10px;} .alignleft{float:left;margin-top:10px;} span.cmt{background:transparent url(images/comment.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;} span.cty{background:transparent url(images/category.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;} .postmetadata{border-top:1px #eee solid;font-size:10px;margin:0;padding:5px;} .boxcomments{border-top:5px solid #ddd;border-bottom:5px solid #ddd;margin-bottom:20px;width:706px;} /* Begin Form Elements */ .entry form { /* This is mainly for password protected posts, makes them look better. */ text-align:left;} select {width: 130px;} #commentform {border: 1px solid #DADADA;padding: 20px;} #commentform input {width: 170px;padding: 0px;margin: 5px 5px 0px 0;} #commentform {margin: 5px 0px 0 0;} #commentform textarea {width: 100%;border:1px solid #DADADA;height: 120px;padding: 2px;} #respond:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;} #submitbox #submit {float: right;padding:3px 6px;background:#F3F3F3;border-top:1px solid #DADADA;border-right:1px solid #DADADA;border-bottom:1px solid #DADADA;border-left:1px solid #DADADA;color:#000000;font-size:11px;cursor:pointer;} #submitbox #submit:hover {background:#FFFFFF;border-top:1px solid #DADADA;border-right:1px solid #DADADA;border-bottom:1px solid #DADADA;border-left:1px solid #DADADA;color:#000000;} /* End Form Elements */ /* Begin Typography & Colors */ .thread-alt {background-color: #f8f8f8;} .thread-even {background-color: white;} .depth-1 {border: 1px solid #ddd;} .even, .alt {border-left: 1px solid #ddd;} .commentlist li .avatar {float: right;border: 1px solid #eee;padding: 2px;background: #fff;} .commentlist cite, .commentlist cite a {font-weight: bold;font-style: normal;font-size: 1.1em;} .commentlist p {font-weight: normal;line-height: 1.5em;text-transform: none;} .commentmetadata {font-weight: normal;} small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {color: #777;} code {font: 1.1em 'Courier New', Courier, Fixed;} acronym, abbr, span.caps {font-size: 0.9em;letter-spacing: .07em;} /* End Typography & Colors */ /* Begin Comments*/ ol.commentlist{margin:0 0 1px;padding:0;} ol.commentlist :hover{background:#f3f3f3;} ol.commentlist li :hover{background:none;} ol.alt {margin: 0;padding: 10px;} ol.commentlist {padding: 0;text-align: justify;} ol.commentlist li {margin: 15px 0 10px;padding: 5px 5px 10px 10px;list-style: none;} ol.commentlist li ul li {margin-right: 0px;margin-left: 10px;} ol.commentlist p {margin: 10px 5px 10px 0;} ol.children { padding: 0; } ol.nocomments {text-align: left;margin: 0;padding: 0;} ol.commentmetadata {margin: 0;display: block;} ol.commentlist li.commenthead{display:block;list-style:none;margin:0;padding:5px 15px;} ol.commentlist li.commenthead h2{margin:0;} /* End Comments */ ol.tblist{border-top:1px solid #fff;list-style:none;margin:0 0 1px;padding:15px;} ol.tblist li{display:block;background:url('images/c.gif') no-repeat 0 2px;padding-left:15px;list-style-type:none; margin-left:0; margin-right:0; margin-top:0; margin-bottom:5px} #footer{background-image:url('images/footerbck.gif');background-repeat:repeat-x;clear:both;height:24px;margin:0;padding:0} #footerbox{color:#fff;background-color:#312e2e;height:30px;line-height:30px !important;margin:0;padding:0;} .footer{width:980px;color:#fff;height:30px;line-height:30px !important;margin:0 auto;padding:0;} .footer a:hover{text-decoration:underline;color:#fff;border:none;} .footer a:link, .footer a:active, .footer a:visited{text-decoration:underline;color:#25aacd;border:none;}
The problem is in this Line:
#sidebar{float:right;width:310px;margin:0;padding:0;} .rsidebar{float:right;width:300px;border:1px solid #dadada;background:#fff url(images/box.gif) repeat-x left top;margin:0 0 10px;padding:10px;}
You see, if i changed the width of the sidebar to 300 in the first line and 290 in the second line. Then problem is fixed in Firefox, and there will be space between sidebar and the main content. BUT the space will be doubled in Google Chrome and I.E. And it will look ugly. So is there any way to fix it.
Second Problem:
Some How in Firefox, the text in footer colour is red. it is supposed to white. Its white in I.E and Google Chrome. So any way to change that too. Thanks.
- The topic ‘Few Theme CSS Problems with FireFox on my Site’ is closed to new replies.