• I know there are already other posts that deal with similar issues, but nothing I’ve tried has worked, so maybe someone can help me specifically.
    When I create a post, the first line in the paragraph is always indented. I don’t want it to be. I tried to change the p {text-indent} setting in the .css to zero, and I even tried deleting it, but my paragraphs were still showing up with the first line indented. If I provide you with the .css, can you tell me exactly what I need to add/remove/change to accomplish this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Probably. But we can’t do anything without seeing the site AND the CSS (to make sure what you think the bad CSS is actually is, yanno!) 🙂

    Thread Starter ewoo10

    (@ewoo10)

    http://www.babywooten.com

    body {
    	margin: 0px;
    	color: #FFF;
    	font-family: "Trebuchet MS", Verdana,Arial,Helvetica,Georgia,Sans-serif;
    	text-align: center;
    	background-color: #333;
    }
    
    h1 {
    	margin: 15px auto;
    	height: 200px;
            width: 700px;
    	text-indent: -5000px;
    	background-image: url("img/bw_header_3x.png");
    	background-repeat: no-repeat;
    	background-position: center;
    	cursor: pointer;
            border: 5px solid #FFFFFF;
    }
    
    h2 {
    	font-size: 2em;
    	color: #333;
    	margin: 0px;
    	font-family: Georgia, Times, serif;
    	font-weight: normal;
    }
    
    h3 {
    	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sans-serif;
    }
    
    a {
    	text-decoration: none;
    	font-weight: bold;
    	color: #ACCC51;
    }
    
    a:hover{
    	background-color: #7CC;
    	color: #333;
    }
    
    a img {
    	border: 0px solid;
    }
    
    p {
    	margin: 15px 0px;
    	line-height: 1.5em;
            text-indent: 15px;
    }
    
    pre, code {
    	background-color: #CBE9F3;
    	border: 1px solid #7CC;
    	font-family: Courier, monospace;
    }
    
    pre {
    	padding: 5px;
    }
    
    div#container {
    	width: 770px;
    	text-align: left;
    	margin: 0px auto;
    }
    
    /**** Header ****/
    
    div#header {
    	width: 685px;
    	margin-left: 70px;;
    }
    
    div#header ul#page_links{
    	border-bottom: 5px solid #444;
    	height: 1.7em;
    	margin: 0px 0px 0px 0px;
    	padding: 0px;
    }
    
    div#header ul#page_links li{
    	list-style: none;
    	float: left;
    	margin-left: 15px;
    }
    
    div#header ul#page_links a{
    	border-right: 5px solid #3A3A3A;
    	border-left: 5px solid #3A3A3A;
    	background-color: #444;
    	padding: 5px;
    }
    
    div#header ul#page_links li a:hover{
    	background-color: #666;
    	color: #BADA55;
    }
    
    div#header ul#page_links li.feed {
    	float: right;
    }
    
    div#header ul#page_links a.feed{
    	background-image: url("img/feed.png");
    	background-repeat: no-repeat;
    	background-position: center left;
    	background-color: transparent;
    	border: 0px;
    	padding: 0px 0px 0px 20px;
    }
    
    /**** Posts ****/
    
    html>/**/body div#main{margin-left: 70px;}
    div#main {
    	width: 500px;
    	margin-left: 35px;
    	float: left;
    }
    
    div.post {
    	border-bottom: 5px solid #CBE9F3;
    	color: #333;
    	margin: 10px 0px;
    }
    
    div.post_header {
    	border-top: 5px solid #444;
    	background-color: #FFF;
    	margin: 5px 0px 5px 0px;
    	padding: 0px 10px 5px 0px;
    	border-bottom: 5px solid #CBE9F3;
    	background-image: url("img/edge.png");
    	background-position: top right;
    	background-repeat: no-repeat;
    }
    
    div.post_date {
    	float: left;
    	width: 3.5em;
    	text-align: center;
    	font-weight: bold;
    	position: relative;
    	left: -3.5em;
    	font-family: Georgia, Times, serif;
    }
    
    div.post_date_d {
    	font-size: 1.2em;
    	line-height: 1.5em;
    	background-color: #7CC;
    	border-right: 4px solid #72B7B7;
    	color: #FFF;
    }
    
    div.post_date_m {
    	line-height: 1.4em;
    	font-size: 1em;
    	background-color: #BADA55;
    	border-right: 4px solid #ACCC51;
    }
    
    div.post_header h2 {
    	left: -40px;
    	position: relative;
    	padding-top: 5px;
    }
    
    div.post_header div.post_meta {
    	text-align: right;
    }
    
    div.post_header span.post_categories {
    	color: #999;
    }
    
    div.post_header span.post_categories a {
    	padding-left: 20px;
    	background-image: url("img/tag_blue.png");
    	background-repeat: no-repeat;
    	background-position: center left;
    	font-size: 0.9em;
    }
    
    div.post_body {
    	background-color: #FFF;
    	padding: 5px 25px 15px 25px;
    	border-top: 5px solid #FAFF95;
    	font-size: 0.8em;
    }
    
    p.post_tags {
    	color: #666;
    	text-indent: 0px;
    }
    
    p.post_tags strong {
    	background-image: url("img/tag_green.png");
    	background-repeat: no-repeat;
    	background-position: center left;
    	padding-left: 20px;
    }
    
    p.post_pages {
    	color: #666;
    	text-align: right;
    }
    
    p.post_pages strong {
    	background-image: url("img/page_white_stack.png");
    	background-repeat: no-repeat;
    	background-position: center left;
    	padding-left: 20px;
    }
    
    div.post_actions {
    	background-color: #BADA55;
    	line-height: 2.5em;
    	padding: 5px 15px;
    	height: 2.5em;
    }
    
    div.post_actions a {
    	color: #333;
    	padding-left: 20px;
    	background-position: left center;
    	background-repeat: no-repeat;
    	font-size: 1em;
    }
    
    div.post span.comments_link a {
    	background-image: url("img/comment.png");
    }
    
    div.post span.comments_feed a {
    	background-image: url("img/feed.png");
    	float: right;
    	line-height: 16px;
    	margin-top: 0.65em;
    }
    
    /**** Sidebar and widgets ****/
    div#sidebars {
    	float: left;
    	width: 195px;
    }
    div.sidebar {
    	width: 175px;
    	margin-left: 10px;
    	margin-bottom: 10px;
    	font-size: 0.8em;
    }
    
    div.sidebar h3 {
    	margin: 0px;
    	border-bottom: 1px solid #7CC;
    	text-align: right;
    	color: #7CC;
    	font-family: Georgia, Times, serif;
    	font-size: 1.3em;
    	font-weight: normal;
    	padding-bottom: 5px;
    	background-repeat: no-repeat;
    	background-position: center left;
    }
    
    div.sidebar ul{
    	list-style: none;
    	margin: 0px;
    	padding: 0px;
    }
    
    div.sidebar li {
    	text-align: right;
    	border-top: 1px solid #555;
    	border-bottom: 1px solid #222;
    }
    
    div#categories a, div#categories-1 a, div#categories-2 a,
    div#archives a, div#meta a, div#pages a,  div#links a
    {
    	display: block;
    	width: 165px;
    	padding: 0px;
    	background-color: #444;
    	padding: 5px;
    }
    div#categories a:hover, div#categories-1 a:hover, div#categories-2 a:hover,
    div#archives a:hover, div#meta a:hover, div#pages a:hover, div#recent-posts a:hover, div#links a:hover
    {
    	background-color: #7CC;
    }
    
    input#search_box {
    	background-color: #F0F0F0;
    	border: 0px;
    	border-bottom: 3px solid #7CC;
    	color: #333;
    	font-size: 1.3em;
    	font-family: Georgia, Times, serif;
    	width: 165px;
    	margin-top: 1px;
    	padding: 0px 5px;
    }
    
    div#categories h3, div#categories-1 h3, div#categories-2 h3 {background-image: url("img/tag_blue.png");}
    div#archives h3 {background-image: url("img/date.png");}
    div#meta h3 {background-image: url("img/wrench.png");}
    div#search h3 {background-image: url("img/magnifier.png");}
    div#pages h3 {background-image: url("img/page_white_stack.png");}
    div#recent-posts h3 {background-image: url("img/newspaper.png");}
    div#tag_cloud h3 {background-image: url("img/tag_green.png");}
    div#tag_cloud {text-align: justify;}
    div#recent-comments h3 {background-image: url("img/comment.png");}
    
    div#twitter h3 {background-image: url("img/services/twitter.png");}
    div#magnolia h3 {background-image: url("img/services/magnolia.png");}
    div#delicious h3, div#delicious-1 h3 {background-image: url("img/services/delicious.png");}
    div#technorati h3, div#technorati-tag-cloud h3 {background-image: url("img/services/technorati.png");}
    div#digg h3 {background-image: url("img/services/digg.png");}
    
    div#calendar h3 {background-image: url("img/calendar.png");}
    div#calendar div#calendar_wrap {text-align: center;}
    div#calendar table, div#calendar caption {margin: 0px auto; width: 100%;}
    div#calendar th, div#calendar td {width: 20px;}
    div#calendar th, div#calendar caption {
    	background-color: #444;
    	border-top: 1px solid #555;
    	border-bottom: 1px solid #222;
    }
    div#calendar td {border: 1px solid #444;}
    div#calendar td.pad {border: 0px solid;}
    div#calendar th {color: #7CC;}
    div#calendar a {
    	display: block;
    	width: 100%;
    }
    
    /**** comments ****/
    
    h3#comments {
    	color: #7CC;
    	margin: 0px;
    }
    
    div.comment_list {
    	margin: 0px;
    	padding: 15PX;
    }
    
    div.comment{
    	background-color: #555;
    	border-top: 1px solid #666;
    	border-bottom: 1px solid #666;
    	margin-bottom: 5px;
    	padding: 15px;
    }
    
    div.alt{
    	background-color: #444;
    	border-top: 1px solid #555;
    	border-bottom: 1px solid #555;
    }
    
    /**** Comment Form ****/
    
    h3#respond {
    	color: #7CC;
    	margin: 0px;
    }
    
    form#commentform {
    	background-color: #444;
    	border-top: 1px solid #555;
    	border-left: 1px solid #555;
    	border-bottom: 1px solid #222;
    	border-right: 1px solid #222;
    	padding: 10px 0px 15px 0px;
    }
    
    form#commentform small {
    	font-weight: bold;
    	color: #BADA55;
    }
    
    form#commentform p {
    	margin: 0px;
    }
    
    textarea#comment {
    	width: 75%;
    }
    
    textarea#comment, form#commentform input {
    	border-top: 2px solid #222;
    	border-left: 2px solid #222;
    	border-bottom: 2px solid #555;
    	border-right: 2px solid #555;
    	background-color: #EFEFEF;
    	font-size: 1.1em;
    	font-family: Georgia, Times, serif;
    	color: #333;
    	padding: 0px 5px;
    	margin-bottom: 5px;
    }
    
    form#commentform input#submit {
    	border-top: 1px solid #FAFF95;
    	border-left: 1px solid #FAFF95;
    	border-bottom: 1px solid #ACCC51;
    	border-right: 1px solid #ACCC51;
    	background-color: #BADA55;
    	margin-top: 10px;
    	cursor: pointer;
    }
    
    /**** Footer ****/
    div#footer {
    	font-size: 0.7em;
    	color: #8BA0B2;
    	margin: 5px 0px 15px 75px;
    	width: 500px;
    	text-align: center;
    	background-color: #333;
    	float: left;
    	clear: left;
    }

    that’s a lot of code. sorry, but i didn’t really know what section to put here.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Nah, that’s okay 🙂

    It’s this:

    p {
    	margin: 15px 0px;
    	line-height: 1.5em;
            text-indent: 15px;
    }

    The text-indent is indenting. 🙂 Remove that and carry on!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove indents and paragraph spacing’ is closed to new replies.