Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Can't make linebreak in my WP theme
Old 08-20-2010, 06:04 PM Can't make linebreak in my WP theme
Experienced Talker

Posts: 41
Trades: 0
Hello everyone,
i just installed a new wordpress theme on my blog.

But unfortunately, the theme "squeezes" the text together, and removes all linebreaks.

See: http://e-ekspert.dk/hvor-skal-jeg-ti...til-e-ekspert/

I hope someone can help me.

The css looks like this:
Code:
/*  
Theme Name: magswave
Theme URI: http://way2zenith.com
Description:mag wave premium wordpress theme by <a href="http://www.seojobsnow.com">Seo Jobs</a>
Author:idou
Author URI: http://way2zenith.com
*/
/*body*/

html,body,div,span,object,h1,h2,h3,h4,h5,h6,p
,pre,a,abbr,acronym,address,big,cite
,code,del,dfn,em,img,ins,kbd,q,samp,small
,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,
form,label,legend,table,caption,tbody,tfoot,
thead,tr,th,td{
margin:0;
padding:0;
vertical-align:baseline;
outline:none;

}
b,i,hr,u,center,menu,layer,s,strike,font,xmp
{
    margin:0;
    padding:0;
    vertical-align:baseline;
    outline:none;
    font-size:100%;
    font-weight:normal;
    font-style:normal;
    background:transparent;
    border:none;
    text-decoration:none
    }

ul {
	list-style: square;
	}

body {
	font: 10pt "Trebuchet MS", Arial, Helvetica, sans-serif; 
    margin:0; 
    outline:none;
	color:#333;
	background:#fff url(images/background.png) no-repeat top ;
	margin:0px 0px 0px 0px;
    padding:0px;
	}

#wrapper{
    margin:0 auto; 
    text-align:center;
   	width:1000px;
    
    height:100%;
        
    }    
#main {
	width:1000px; 
    height:100%;
     margin:0px auto 0 auto;
    padding:0px 0px 0px 0px;
    border-radius:5px; 
	-moz-border-radius:5px; 
	-webkit-border-radius:5px;
    }

#header {
	height:100px;
    position:relative;
    }

#logo{
	position:relative;
	padding:5px 0px 0px 5px;
	height:60px;
	}
#logo .description{
	position:absolute;
	left:15px;
	bottom:-25px;
	color:#333;	
	text-indent:12px;
	}

#headerad{
	margin:0px ;
    right:10px;
	float:right;
    position:absolute;
    top:25px;
    }
#headertw{
	margin:0px ;
    right:15px;
	float:right;
    position:absolute;
    bottom:-7px;
	}

#headertw img{
    margin:0px;
	padding:0px;
    } 

#bigtop{
    height:0px;
    }           
#bigslide{
    margin: 0px 0px 10px 0px;
    padding:0px ;
    height:384px;
    background: url(images/slidebg.jpg) no-repeat bottom;
    overflow: hidden;
    position: relative;
    }
#cu3er-container{
    margin:0px;
	width:960px;
    background: url(images/shade.png) repeat;
    border: 1px solid #e5e5e5;
    padding:5px;
	outline:none;
        border-radius:3px; 
	-moz-border-radius:3px; 
	-webkit-border-radius:3px;
    }
#white{
    width:100%;
    height:100%;
    background:#fff;
    }    

.ad1{
	text-align:center;
	width:100%;
	margin: 2px 5px 10px 0px;
	padding:0px 6px  15px 6px;
    background: url(images/bar.png) repeat-x bottom;
    }

/*menu*/

#menubar{
    height:35px;
    background: url(images/shade.png) repeat;
    margin:0px 0px 0px 20px;
    width:955px;
    display:block;
    padding:5px 0 0px 0px;
    font:12px Tahoma,Century gothic,verdana, Arial, sans-serif;
    font-weight:normal;
    text-transform:uppercase;
    -moz-box-shadow:0px 0px 15px #0288b3; /* CSS3 Shadow */
    -webkit-box-shadow:0px 0px 15px #0288b3; /* CSS3 Shadow */
    box-shadow:0px 0px 15px #0288b3; /* CSS3 Shadow */
    -moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-right-radius:5px;
	-webkit-border-bottom-left-radius:5px;}
.lavaLampNoImage {
    position:relative;
    padding:5px 10px;
    margin:0px 0px 0px 0px;
    overflow: hidden;
    }
.lavaLampNoImage li {
    float: left;
    list-style:none;
    margin:0px 0px;
    padding:0px 0px;
    }
.lavaLampNoImage li.back {
    width:5px;
    height:18px;
    border:1px solid #fff;
    background: transparent;
    top:7px;
    z-index:9;
    position:absolute;
	border-radius:3px; 
	-moz-border-radius:3px; 
	-webkit-border-radius:3px;
	}
.lavaLampNoImage li a:visited , .lavaLampNoImage li a:link{font:13px Trebuchet ms,Century gothic, Arial, Tahoma, sans seriff ;text-decoration: none;color:#fff;outline:none;text-align:center;top:3px;letter-spacing:0;z-index:10;display:block;float:left;height:23px;position:relative;overflow:hidden;margin:auto 10px;}
.lavaLampNoImage li a:hover, .lavaLampNoImage li a:active {border:none;color:#fff;}	
/*headings*/

h1 {
	text-indent:-10000px;
	margin:0;
	padding:0;
	}

h1 a{
	display:block;
	background:url(images/logo.png) no-repeat left;
	height:72px;
	border:none;
	}

h1 a:hover{
	color:#000000;
	text-decoration:none;
	}

h2 {
	font: 30px Arial, Georgia, century gothic,verdana, sans-serif;
    margin: 5px 0 0px 0;
	padding: 0px;
    color:#000;
    font-weight:bold;
	overflow:hidden;
    }

h2 a, h2 a:visited {
	color:#000;
	text-decoration:none;
	}

h2 a:hover {
	color:#1abcdc;
	text-decoration:none;
	}

h3 {
	color:#1578dd;
	margin:0px 0px 2px;
	font: 20px Arial, Georgia, century gothic,verdana, sans-serif;
    padding:0px 0px 4px 0px
    }

h4 {
	color:#1578dd;
	margin:0px 0px 2px;
	font: 18px Arial, Georgia, century gothic,verdana, sans-serif;
	padding:0px 0px 4px 0px
	}

h5 {
	color:#1578dd;
	margin:0px 0px 2px;
	font: 16px Arial, Georgia, century gothic,verdana, sans-serif;
	padding-bottom:3px;
	}

h6 {
	color:#1578dd;
	margin:0px 0px 2px;
	font: 14px Arial, Georgia, century gothic,verdana, sans-serif;
	padding-bottom: 3px;
	}	

/*content*/

#content {
    margin:0px 0px 0px 0px ;
	padding:15px 5px 30px 10px;
	float:left;
	width:690px;
	overflow:hidden;
	line-height:16px;
	text-align:justify;
	font:10pt verdana, arial, helvetica, sans-serif;
	color:#aaa;
    }

.post {
	clear:both;
	margin:0px 0px 15px 0px;
    padding:0px 0px 20px 0px;
    background: url(images/bgpost.png) no-repeat bottom;
    }

.title {
	margin:3px 0px 0px 0px;
	width: 100%;
    height:100%;
	padding:0px 0px 5px 0px;
    }

.date {
	font-size:11px;
	font-family:Tahoma, century gothic,Arial,Verdana,Helvitica,sans-serif;
	padding:0px 5px 0px 5px;
    margin:0px 0px 0px 5px;
   	color:#fff;
   	text-transform: capitalize;
    }	
	
.author{
	color:#fff;
	padding:2px 5px 2px 5px;
    margin-left:5px;
    background:#3eadda;
    border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.time{
	color:#fff;
	padding:2px 5px 2px 5px;
    margin-left:5px;
    background:#3eadda;
    border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.cat{
	color:#fff;
	padding:2px 5px 2px 5px;
    margin-left:5px;
    background:#3eadda;
    border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.cat a:link,
.cat a:visited {
	color:#fff;
    }

.cat a:hover{
	color:#fff;
    }

.comm{
	color:#fff;
	padding:2px 5px 2px 5px;
    margin-left:5px;
    background:#3eadda;
    border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.comm a:link,
.comm a:visited {
	color:#fff;
    }

.comm a:hover{
	color:#fff;
    }	
        
.cover{
	margin: 0 0;
	} 

.readmeta{
	color:#fff;
	padding:3px 7px 3px 7px;
	margin-right:5px;
    font-size:11px;
    float:right;
	font-family:Tahoma, century gothic,Arial,Verdana,Helvitica,sans-serif;
	text-transform: uppercase;
    background:#b982b9;
    border:1px #b982b9 solid;
      
        border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px; 
    }

.readmeta a:link,
.readmeta a:visited {
	color:#fff;
    }

.readmeta a:hover{
	color:#000;
    }   

.cover{
	margin: 0 0;
	}
	
.entry {
	clear:both;	
	margin:0px 0px 10px 0px;
	padding:2px 5px 5px 5px;
	color:#444;
    font:13px "Trebuchet MS", Arial, Helvetica, sans-serif;
    }

.entry p{
	margin:0px 8px;
	padding:0px 0px;
	line-height:20px;
    font:13px "Trebuchet MS", Arial, Helvetica, sans-serif;
    }

.entry img{
	float:left;
	margin:5px 5px 0px 0px;
	padding:4px;
    border: 1px solid #ddd;
    border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.entry ul {
	margin:0;
	padding:0 0 20px 15px;
	list-style:none;
	list-style-type:none;
    }

.entry ul li {
	margin:0 0 10px 0;
	padding:0;
	min-height:16px;
	font-size:12px;
	list-style-image:none;
    }

.entry ol {
	margin:0;
	padding:0 0 20px 25px;
	list-style-type: decimal;
    }

.entry ol li {
	margin:0 0 10px 0;
	padding:0;
	min-height:16px;
	font-size:12px;
    }    

blockquote {
	margin:0 0 20px 0;
	padding:10px 30px;
	border-left:3px solid #5e0c79;
    font-style: italic;
    color:#563a23;
    }

blockquote p {
	padding:0;
	margin:0;
    }

blockquote blockquote {
	color: #777;
	}

blockquote em {
	font-style: normal;
	}

pre {
	padding: 9px;
	background: #f9f9f9;
	border: 1px solid #ccc;
	}

code {
	padding: 0 3px;
	background: #eee;
	}

pre code {
	background: transparent;
	}    

.relatedpost{
    margin: 0px 5px 15px 10px;
	height:100%;
	color:#555;
	font: 13px "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 0px 0px 10px 0px;
    }
    
.relatedpost h3{
	margin: 0px 0 5px 0;
	padding: 5px 0px 5px 0px;
	text-align: left;
	font:26px  Arial, Helvetica, sans-serif;
	overflow:hidden;
    color:#000;
    }
    
.relatedpost ul{
	margin:0px 0px;
	padding:0px 0px;
	list-style-type:none
    }
    
.relatedpost ul li{
	margin:0px 0px;
	padding:5px 10px;
	list-style-type:none;
    color:#111;
    text-indent:15px;
	line-height:24px;
 	font: 13px  "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight:normal;
    }

.relatedpost ul li a:link, .relatedpost ul li a:visited{
    color:#222;
    }

.relatedpost ul li a:hover{
	color:#5e0c79;
    }     

/* Right Column */

#rightcol{
	float:right;
	width:285px;
	overflow: hidden;
    margin:5px 5px 10px 0px;
    padding:0px;
    }

.feed{
	width:270px;
	height:35px;
	float:right;
	padding:10px 0px 5px 5px;
	margin:10px 4px 10px 0px;
    border:1px solid #ddd;
    }

.input{
	margin-left:5px;
	float: left;
	width: 175px;
	height:18px;
	padding: 5px 3px 4px 3px;
	background: #fff;
	font-weight: normal;
	border:1px solid #aaa;
	color:#000000;
        border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.sbutton {
	margin-right:10px;
	float: right;
	margin-top: 0px;
	background:#212121;
    border:1px solid #212121;
    vertical-align: middle;
	font:14px;
	color: #eee;
	height:29px;
    }
    
.bannerbox{
    float:right;
	height:288px;
	padding:0px ;
	margin:0px ;
	position:relative;
	overflow: hidden;
    }
.bannerbox  a:link, .bannerbox  a:visited {
	color:#fff;
	}	

.bannerbox a:hover{
	color:#fff;
	}

  
.banner{
	margin: 0px ;
	padding: 0px ;
	float:left;
	height:100%;
    }

.banner ul {
	margin: 0px 0px;
	padding: 0px 0px;
	overflow: auto;
	}

.banner li{
	width:127px;
	margin: 1px 3px 6px  4px ;
    padding:4px 3px 4px 3px;
	list-style:none;
	display : block;
	overflow:hidden;
	float:left;    
    border:1px solid #ddd;
    }

.banner li a:link, .banner li a:visited {
	text-decoration: none;
	}

.video{
    width:277px;
	float:right;
	padding:0px;
	height:253px;
	margin:0px 4px 0px 0px;
    padding:0px 0px 5px 0px;
    position:relative;
    overflow: hidden;
    }

.videoinfo{
    padding:5px 0px 5px 0px;
    border:1px solid #ddd;
    }    

        
/* Sidebar */
.sidebar{
	float:left;
	width:280px;
	padding:1px 1px 0px 1px;
	font-size:12px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	margin: 0px 12px 0px 0px;
    text-align: left;
	}

.sidebar h2 {
	line-height:20px;
    color:#fff;
    background:#3faedb;
	margin:7px 6px  2px 3px ;
	padding:7px 0 3px 3px;
    font:24px Tahoma, century gothic,Arial,Verdana,Helvitica,sans-serif;
    text-transform:capitalize;
    text-indent: 7px;
        -moz-border-radius-topright: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-right-radius:5px;
	-webkit-border-top-left-radius:5px;}
    }
.sidebar ul {
	list-style-type: none;
	margin:0 ;
	padding:0;
	}

.sidebar ul ul  {
	list-style-type:none;
	margin:0;
	padding:0px 0px 10px 0px;
	background-repeat:no-repeat;
	}

.sidebar ul ul ul {
	list-style-type: none;
	margin:0;
	padding:0;
	border:0
	}

.sidebar ul ul ul ul {
	list-style-type: none;
	margin:0;
	padding:0;
	border:0;
	}

.sidebar ul li {
	height:100%;
	line-height:18px;
	float:left;
    margin:0px 0px 0px 0px; 
	clear:left;	
	width:286px;
	}

.sidebar ul li a:link, .sidebar ul li a:visited {
	color:#111;
	text-decoration:none;
	padding: 6px 0px 6px 5px;
	display:block;
    margin:0px 6px 2px 3px;
    text-align: left;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    text-indent:3px ;
    font-size:13px;
    background:#fdfdfd;
    border: 1px solid #dfdfdf;
    text-transform: capitalize;
    border-radius:1px; 
	-moz-border-radius:1px; 
	-webkit-border-radius:1px;
    }

.sidebar ul li a:hover {
	color: #111;
    text-indent:4px ;
        }

.sidebar p {
	padding:7px 10px;
	margin:0;
	}

.sidebar table {
	width:100%;
	text-align:left;
	color:#787d7f;
	}	

/*comments*/
#comments, #respond {
	padding: 5px 0 5px 5px;
	clear: both;
    color:#1578dd;
    font-size:28px;
   }

.cleft { 
	float:left; 
	width:40px; 
	padding:3px ;
	margin:0px 10px 0px 0px; 
    border:1px solid #ccc;
    background:#ddd;
    border-radius:5px; 
	-moz-border-radius:5px; 
	-webkit-border-radius:5px;
	}

.metac{
    color:#444;
    }

.cauthor{
    color:#222;
    } 

.commentlist {
	margin: 10px 0px;
	padding-left:20px;
	line-height: 130%;
	}

.commentlist li{
	padding: 5px 10px;
	}

.commentlist .alt {
    }

.cdata{
	font-size:11px;
	color:#222;
	margin-top:15px
    }

.commentlist cite {
	font-size: 12px;
	color: #eee;
	text-decoration:none
	}

.commentlist cite a, .commentlist cite a:visited {
	color: #eee;
	}


#commentform {
	margin-top:10px;
	font: 10px;
	}

#commentform p {
	padding: 6px 10px;
	margin: 0px;
	}

#commentform label{
	color: #555;font-size: 77%;
	}

#commentform input{
	width:200px;
	background:#fafafa;
    border:1px solid #999;
   	padding:3px;
	margin-top:3px;
	}

#commentform textarea{
	width:570px;
	height:115px;
	background:#fafafa ;
    border:1px solid #999;
   	padding:2px;
	margin-top: 3px;
	}

#commentform textarea:focus, #commentform input[type="text"]:focus {
	background:#fff;
    border: 1px solid #999;
	}

#commentform #submit{
	font:14px ;
    color:#eee;
    background:#3eadda;
    border:1px solid #3eadda;
	float:left;
	width:130px;
	height:30px;
	cursor:pointer;
	}

 /*Search*/

#searchform {
	margin:3px 15px 5px 0px; 
	left: 6px;
	float:right;
	top:10px;
	padding:6px 6px 5px 1px;
    width:250px;
	height:30px;
    border: 1px solid #111;
    background:#111 url(images/black.png) repeat top ;


	}

#searchform br {
	display: none;
	}

#searchform #s {
	border:1px solid #f5f5f5;
	width:187px;
	height:20px;
	padding: 4px 5px 2px 0px;
    background: #f5f5f5;
	color: #000;
	font-weight:normal;
	margin:0px 0px 0px 5px;

    }     

#searchform input {
	background:#f5f5f5;
    border:1px solid #f5f5f5;
	width:45px;
	height: 28px;
	font:22px;
	color: #111;
	vertical-align:middle;

    }

/*footer*/

#footer {
	clear:both;
   	line-height:20px;
    font-size: 12px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    margin:0 auto 0px auto; 
    overflow:hidden; 
    height:100%; 
    padding:10px 5px 18px 5px; 
    color: #111;
    border-top:3px solid #3cacd8;
    }

#footer a {
	text-decoration: none;
	font-size: 12px;
	color: #111;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	}

#footer a:hover {
	color: #aaa;
    text-decoration: none;
	}

/*Other*/

.center {
	text-align:center;
	}

a,a:visited {
	color:#1d75bc;
	text-decoration:none;
	}

a:hover {
	color:#222;
	text-decoration:none;
	}

img {
	border:none;
	}

form {
	margin:0px;
	padding:0px;
	}

p {
	padding:0px 0px 15px;
	margin: 0px;
	}

img.center, img[align="center"] {
	display:block;
	margin-left:auto;
	margin-right:auto;
	}

.alignleft {
	float:left;
    padding-left: 10px;
	}

img.alignleft, img[align="left"] {
	float:left;
	margin:2px 10px 5px 0px;
	}

.alignright {
	float:right;
    padding-right: 10px;
	}

img.alignright, img[align="right"] {
	float:right;
	margin:2px 0px 5px 10px;
	}

.clear {
	clear:both;
	}

hr.clear {
	clear:both;
	visibility:hidden;
	margin:0px;
	padding:0px;
	}

/* Fix floats */

img {
	border: none;
	}

form {
	margin:0px;
	padding:0px;
	}

p {
	padding: 0px 0px 15px;
	margin: 0px;
	}

img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.alignleft {
	float: left;
    text-align: left;
	}

img.alignleft, img[align="left"] {
	float:left;
	margin: 2px 10px 5px 0px;
	}

.alignright {
	float: right;
    text-align: right;
	}

img.alignright, img[align="right"] {
	float:right;
	margin: 2px 0px 5px 10px;
	}

.clear {
	clear:both;
	}

hr.clear {
	clear:both;
	visibility: hidden;
	margin:0px;
	padding:0px;
	}

.aligncenter {
	display:block;
	margin-left:auto;
	margin-right: auto;
	}

.alignleft {
	float:left;
    left:0px;
	}

.alignright {
	float:right;
	}

/* image caption */
.wp-caption {
	border: 1px solid #222;
	text-align: center;
	background-color: #000;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
    }

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
    }

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
    }
I Really hope someone can help me out there..
Thanks alot.
__________________

Please login or register to view this content. Registration is FREE
- Alt om autostole //
Please login or register to view this content. Registration is FREE
//
Please login or register to view this content. Registration is FREE
wallabee80 is offline
Reply With Quote
View Public Profile Visit wallabee80's homepage!
 
 
Register now for full access!
Old 08-22-2010, 01:04 AM Re: Can't make linebreak in my WP theme
Junior Talker

Posts: 2
Name: lynette
Trades: 0
I dunno if you can also try <br> for new line.I am not that much good into it but i hope i answered you right.Keep me updated if i made it right

link drops removed

Last edited by chrishirst; 08-22-2010 at 04:13 PM..
rosettelee is offline
Reply With Quote
View Public Profile
 
Old 08-22-2010, 11:51 AM Re: Can't make linebreak in my WP theme
Experienced Talker

Posts: 41
Trades: 0
Thx Rosettelee, but i already tried the <br>
But it doesnt work either

Any other suggestions?
__________________

Please login or register to view this content. Registration is FREE
- Alt om autostole //
Please login or register to view this content. Registration is FREE
//
Please login or register to view this content. Registration is FREE
wallabee80 is offline
Reply With Quote
View Public Profile Visit wallabee80's homepage!
 
Reply     « Reply to Can't make linebreak in my WP theme
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28973 seconds with 12 queries