CSS problem , apparently ...

by Toon-c
3 replies
  • WEB DESIGN
  • |
Hi ..

I have a theme that I will use, I was modifying it for days (to integrate it into my website)

but the problem is, when I press "enter" in the posts it doesn't show up in the post .. the text is crowded ..

here is a picture
http://img710.imageshack.us/img710/2941/nonenter.jpg

but when I change the theme (using any other) , it's back to normal
http://img151.imageshack.us/img151/3069/entersb.jpg

any ideas ? how can I solve this problem ???

Will be really thankful ..


Here is the css by the way

Code:
body{margin:0;padding:0;}
.whole{font-family:  Helvetica, sans-serif;font-size:16px;color:#666;margin:0;padding:0;}
.whole h2,h3{font-size:16px;line-height:20px;color:#00749E;margin:0;padding:0;}
.whole .h2{font-family:Arial, Helvetica, sans-serif;line-height:18px;font-size:12px;color:#312E2E;font-weight:700;}
.whole a:link,a:visited,a:active{color:#00749E;text-decoration:none;}
.whole a:hover{color:#000;text-decoration:underline;}
.whole #header{width:980px;height:69px;margin:0 auto;padding:0;}
.whole #header h1.blogtitle{font-family:Arial, Helvetica, sans-serif;margin:0;padding:10px 0 0;}
.whole #header p.desc{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;margin:0;padding:0;}
.whole #top{background-color:#fff;background-image:url(images/topbck.gif);background-repeat:repeat-x;height:34px;}
.whole #ddnav{background-color:#312e2e;height:35px;margin:0;padding:0;}
.whole #nav{height:25px;width:980px;font-weight:700;margin:0 auto;padding:10px 0 0;}
.whole ul.nav{height:25px;line-height:25px;float:left;list-style:none;font-size:11px;text-transform:inherit;margin:0;padding:0;}
.whole ul.nav li{float:left !important;list-style-type:none;border-right:2px solid #312e2e;margin:0;padding:0;}
.whole 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;}
.whole ul.nav li a:hover,ul.nav li a:active{background:url(images/navblue.gif) repeat-x;color:#205387;text-decoration:none;}
.whole ul.nav li.current_page_item a{text-decoration:none;background:url(images/navblue.gif) repeat-x;color:#fff;}
.whole ul.nav li ul{float:left;margin:0;padding:0;}
.whole #main{width:1000px;margin:0 auto;padding:0;}
.whole #content{float:right;width:778px;margin:0;padding:0; margin-top : -1px; margin-right: 5px ;}
.whole .entry{float:right;width:789px;margin:0 0 10px;padding:10px;}
.articlecore{border-left : 1px solid #dde2e6;border-right : 1px solid #dde2e6;border-bottom : 1px solid #dde2e6; width: 767px; margin:0 0 10px;padding:10px;}
.whole #sidebar{float:right;width:330px;margin:0;padding:0;}
.whole .rsidebar{float:right;width:320px;border:1px solid #dadada;background:#fff url(images/box.gif) repeat-x left top;margin:0 0 10px;padding:10px;}
.whole .rsidebar h2{font-size:12px;border-bottom:#eee 1px solid;margin:0 0 5px;padding:0;}
.whole .rsidebar ul{list-style-type:none;margin:0;padding:0;}
.whole .rsidebar ul li{list-style-type:none;margin:0 0 10px;padding:0;}
.whole .rsidebar ul li ul{list-style-type:square;margin:0;padding:0 3px;}
.whole .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;}
.whole .navigation{width:600px;float:left;color:#666;}
.whole .alignright{float:right;margin-top:10px;}
.whole .alignleft{float:left;margin-top:10px;}
.whole span.cmt{background:transparent url(images/comment.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;}
.whole span.cty{background:transparent url(images/category.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;}
.whole span.next{background:transparent url(images/next.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;}
.whole span.prev{background:transparent url(images/prev.gif) no-repeat;border:0;margin:0;padding:0 0 5px 20px;}
.whole .postmetadata{border-top:1px #eee solid;font-size:10px;margin:0;padding:5px;}
.whole .boxcomments{border-top:5px solid #ddd;border-bottom:5px solid #ddd;margin-bottom:20px;width:600px;}
.whole #commentform{border-top:1px solid #eee;margin:0;padding:15px 15px 1px;}
.whole #commentform label{display:block;margin:0;}
.whole #commentform input{width:170px;margin:0 5px 10px 0;padding:1px;}
.whole #commentform textarea{width:400px;margin:0 0 10px;padding:0;}
.whole #commentform #submit{margin:0 0 20px;}
.whole #commentform p{margin:5px 0;}
.whole ol.commentlist{margin:0 0 1px;padding:0;}
.whole ol.commentlist :hover{background:#eee;}
.whole ol.commentlist li{border-top:1px solid #eee;display:block;list-style:none;margin:0;padding:15px 15px 1px;}
.whole ol.commentlist li :hover{background:none;}
.whole ol.commentlist li.commenthead{display:block;list-style:none;margin:0;padding:5px 15px;}
.whole ol.commentlist li.commenthead h2{margin:0;}
.whole ol.tblist{border-top:1px solid #fff;list-style:none;margin:0 0 1px;padding:15px;}
.whole ol.tblist li{display:block;list-style:none;background:transparent url(images/c.gif) 0 2px no-repeat;padding-left:15px;margin:0 0 5px;}
.whole #footer{background-image:url(images/footerbck.gif);background-repeat:repeat-x;clear:both;height:24px;margin:0;padding:0;}
.whole #footerbox{color:#fff;background-color:#312e2e;height:30px;line-height:30px !important;margin:0;padding:0;}
.whole .footer{width:980px;color:#fff;height:30px;line-height:30px !important;margin:0 auto;padding:0;}
.whole .footer a:hover{text-decoration:underline;color:#fff;border:none;}
.whole .footer a:link,.footer a:active,.footer a:visited{text-decoration:underline;color:#25aacd;border:none;}
#apparently #css #problem
  • Profile picture of the author swtsubmit
    You should put margins to entry paragraph element, like this:

    Code:
    .entry p {
    margin-top: 15px; /*or put margin-bottom: 15px;*/
    }
    I dont see that defined here.
    Signature
    {{ DiscussionBoard.errors[2833782].message }}
  • Profile picture of the author Toon-c
    Thanks it worked !
    Signature
    HT Consulting S.A.R.L - Online marketing services - htconsulting.co
    Bluechain Solutions - Brand development services - bluechainsolutions.com
    {{ DiscussionBoard.errors[2834121].message }}
  • Profile picture of the author bzd63
    thanks it worked for me too
    {{ DiscussionBoard.errors[4110289].message }}

Trending Topics