+ Antworten
Ergebnis 1 bis 7 von 7

Thema: Erste Zeile von Absatz immer verschoben

  1. #1
    Neu an Board
    Registriert seit
    17.07.2007
    Beiträge
    4
    Bedankte sich
    2
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Daumen runter Erste Zeile von Absatz immer verschoben

    Hallo zusammen

    Ich habe ein kleines Problem. Bei jedem Absatz den ich mache (mit <p>) ist die erste Zeile verschoben. Ich habe stundenlang im CSS gesucht und verschiedene Templates (auch original) genommen und habe es nicht herausgefunden. Deshalb wende ich mich jetzt an euch Profis!

    Eine Übersicht, wie das Ganze aussieht, kriegt ihr hier:


    "Morge" "Zuge" "Dana" und "Zum" sind alles neue Absätze (<p>) und bei denen wird die erste Zeile einfach eingeschoben. Respektive es ist ein Leerzeichen davor, das im Code nicht vorhanden ist.

    Ich bin froh, um jeden kleinen Hinweis.

    Vielen Dank

  2. #2
    Hat hier eine Zweitwohnung Avatar von eresbe
    Registriert seit
    13.04.2006
    Ort
    Krefeld
    Beiträge
    1.496
    Bedankte sich
    28
    Erhielt 412 Danksagungen
    in 389 Beiträgen

    Standard

    Hi,

    schau mal nach, ob der Begriff >>first-letter<< in Deinem Code auftaucht. Hier nähere Erläuterungen.
    Bismarck biss Marc, bis Marc Bismarck biss!
    Sag: "Wir denken an Euch…" Solidarität mit Soldaten zeigen

  3. Erhielt Danksagungen von:


  4. #3
    Neu an Board
    Registriert seit
    17.07.2007
    Beiträge
    4
    Bedankte sich
    2
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    hallo eresbe

    danke für die antwort. leider kann ich nirgends sowas finden. weder in css noch in index.php. aber danke für den ansatz.

    [edit]
    habe noch folgendes herausgefunden: es gibt die möglichkeit in css von text-indent die erste zeile einzurücken. das habe ich auch tatsächlich in meinem code gefunden. allerdings nur in folgenden kategorien:

    - a.sublevel:link
    - a.sublevel:visited
    - .createdate
    - .readon

    Und ich denke nicht, dass diese CSS Einstellungen meinen Text beeinflussen.

  5. #4
    Hat hier eine Zweitwohnung Avatar von eresbe
    Registriert seit
    13.04.2006
    Ort
    Krefeld
    Beiträge
    1.496
    Bedankte sich
    28
    Erhielt 412 Danksagungen
    in 389 Beiträgen

    Standard

    Kannst Du denn mal einen Link zu Deiner Seite posten??
    Bismarck biss Marc, bis Marc Bismarck biss!
    Sag: "Wir denken an Euch…" Solidarität mit Soldaten zeigen

  6. #5
    Neu an Board
    Registriert seit
    17.07.2007
    Beiträge
    4
    Bedankte sich
    2
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Kann ich gerne.

    -

    [edit]
    am besten sieht man das problem hier: -

    [edit2]
    hier noch der CSS Code
    Code:
    /*
    	Joomla templates developed by 
    	http://www.joomladesigns.co****
    
    */
    
    *{	padding:0; margin:0; }*
    body{ text-align: center; background: #1b222b; }
    
    h1 {
    	font: bold 1.3em Arial, Sans-Serif;
    	letter-spacing: -1px;
    	color: #fff;
    }
    
    
    h1 a {
    	color: #BF3E17;
    }
    
    tr, p, div {
    	font-family: "Trebuchet MS", Arial,Verdana, Helvetica, sans-serif;
    	font-size: 12px;
    	line-height: 1.5em;
    	color:#666666;
    }
    hr {
    	background:#999999;
    	height:1px;
    	width:100%;
    }
    ul {
    	list-style:none;
    }
    li {
    	padding-left: 25px;
    	padding-top: 0;
    	background-image: url(../images/arrow.png) ;
    	background-repeat: no-repeat;
    	background-position: 10px 5px;
    }
    ol{
    	margin-left:40px;
    	list-style-position:inherit;
    }
    
    .header {
    	background: #fff url(../images/header.gif) repeat-x;
    	margin: 0 0 10px 0;
    	height: 170px;
    	padding: 1px 0 3px 10px;
    }
    
    .logo {
    	float: left;
    	
    }
    
    #mainlevel-nav {
    	float: right;
    	font-size: 1.1em;
    	color: #FFF;
    	width: 600px;
    	text-align: right;
    	padding: 0 20px 0 0;
    		
    }
    
    #mainlevel-nav ul { font-size: 1.1em; margin: 0;  padding: 0;}
    
    	#mainlevel-nav li { 
    		color: #fff;
    		background: none;
    		display: inline;
    	}
    	
    	#mainlevel-nav li a { 
    		font-weight: bold;
    		color: #FFF; 
    	} 
    	
    	#mainlevel-nav li a:hover { 
    		color: #fff;
                    text-decoration   : underline;
    	} 
    	
    		
    #searchform {
    	background: #F0F0F0;
    	text-align: right;
    	color: #FFFFFF;
    	height: 40px;
    	padding: 10px 10px 0 0;
    }
    
    form {
    	display: inline;
    	margin: 0;
     	padding: 0;
    }
    
    .pathway {
    	font-family:  Arial,Verdana, Helvetica, sans-serif;
    	font-size: 9px;
    }
    a.pathway:link, a.pathway:visited {
    	color            : #99cb46;
    	font-weight      : normal;
    }
    a.pathway:hover {
    	color            : #ff3300;
    	font-weight      : normal;
    	text-decoration   : none;
    }
    
    #active_menu {
    	color: #76c41d;
    	text-decoration: underline;
    	font-weight: bold;
    }
    a.mainlevel:link, a.mainlevel:visited {
    	display: block;
    	color: #666;
    	padding: 4px 0 4px 10px;
    	margin: 0 0 1px 0;
    	border-bottom: 1px solid #eee;
    	text-decoration: none;
    }
    a.mainlevel:hover {
    	color: #0a9ede;
    	background: #D8D8D8;
    }
    a.mainmenu:link, a.mainmenu:visited {
    	color: #ffffff; 
    	font-family:  Arial,Verdana, Helvetica, sans-serif;
    	font-weight: bold;
    	font-size: 10px;
    }
    a.mainmenu:hover {
    	color: #333333; 
    }
    .pollstableborder {
    	border: 1px solid;
    	padding: 1px;
    }
    a.sublevel:link, a.sublevel:visited {
    	font-size: 11px;
    	color: #ffffff;
    	text-indent:33px;
    	line-height: 20px;
    	display:block;
    	margin-bottom:3px;
    	width:100%;
    	background-color:#c6c6c6;
    }
    a.sublevel:hover {
    	color: #000000; text-decoration: none;
    }
    table.moduletable {
    	padding: 0 0px 5px 0px;
    	width: 200px;
    	margin-bottom:5px;
    }
    
    /* small titles */
    
    table.moduletable th {
    	font: bold 1.1em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    	color: #666;
    	width: 100%;
    	font-weight:bold;
    	padding: 3px 10px;
    	text-align: left;
    		
    }
    table.moduletable li {
    	color: #FFF;
    	
    }
    table.moduletable ul {
    	padding: 0px;
    }
    table.moduletable td {
    	font-size: 11px;
    	font-weight: normal;
    }
    .poll {
    	font-family      : Arial, Helvetica, sans-serif;
    	font-size        : 10px;
    	color            : #666666;
    	line-height      : 14px;
    }
    table.pollstableborder {
    	border: 1px solid #cccccc;
    }
    .sectiontableheader {
    	background-color : #cccccc;
    	color            : #333333;
    	font-weight      : bold;
    	padding:5px;
    }
    .sectiontableentry1 td{
    	border-bottom:1px solid #CCCCCC;
    	padding:3px 3px 3px 6px;
    
    }
    .sectiontableentry2 td {
    	border-bottom:1px solid #CCCCCC;
    	padding:3px 3px 3px 6px;
    }
    .small {
    	font-family      : Arial,Verdana, Helvetica, sans-serif;
    	font-size        : 10px;
    	color            : #999999;
    	text-decoration  : none;
    	font-weight      : bold;
    }
    .smalldark {
    	font-family      : Arial,Verdana, Helvetica, sans-serif;
    	font-size        : 10px;
    	color            : #000000;
    	text-decoration  : none;
    	font-weight      : normal;
    }
    .contentpane {
    }
    .contentpaneopen {
    	border : 0px ridge #0099cc;
    	width: 100%;
    	padding: 1px;
    }
    
    /* big titles */
    .contentheading, .componentheading {
    	font: bold 1.3em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    	letter-spacing: -1px;
    	color: #666;
    	text-align: left;
    	margin: 0 0 10px 0;
    	
    }
    .createdate {
    	font-family      : Arial, Helvetica, sans-serif;
    	font-size        : 10px;
    	color:  #666666;
    	text-align       : left;
    	text-indent:18px;
    	font-weight:bold;
    	top:-5px;
    	vertical-align: top;
    	padding-bottom:2px;
    	background:url(../images/date.png) no-repeat;
    }
    .button {
    	font-family: Arial,Verdana, Helvetica, sans-serif;
    	font-style: normal;
    	font-size: 11px;
    	font-weight: bold;
    	background-color : #6dbc0f;
    	color: #ffffff;
    	border: 1px solid #757575;
    }
    
    /* search form input */
    
    .inputbox {
    	color: #757575;	
    	padding: 2px;
    	border: 1px solid #808080;
    	margin: 0 0 4px 0;
    }
    
    #searchform .inputbox {
    	color: #757575;	
    	width: 300px; 
    	border: 1px solid #808080;
    	background: #fff;
    	float: right;
    }
    
    
    a:link, a:visited {
    	color: #0a9ede;
    	text-decoration: none;
    }
    a:hover {
    	color: #76c41d;
    }
    a.contentpagetitle:link, a.contentpagetitle:visited {
    	font-family: Arial,Verdana, Helvetica, sans-serif;
    	font-size: 12px;
    	font-weight: bold;
     	color: #76c41d;
    	text-align:left;
    	text-decoration: underline;
    	}
    a.contentpagetitle:hover {
    	font-family: Arial,Verdana, Helvetica, sans-serif;
    	font-size: 12px;
    	font-weight: bold;
    	text-align:left;
    	color: #666666;
    	text-decoration: none;
    	font-weight: bold;
    	}
    a.category:link, a.category:visited {
    	color            : #333333;
    	font-weight      : bold;
    	font-size: 11px;
    	font-weight: bold;
    }
    a.category:hover {
    	color            : #999999;
    }
    .ontab {
    	background-color: #ffae00;
    	border-left: outset 2px #99cb46;
    	border-right: outset 2px #808080;
    	border-top: outset 2px #99cb46;
    	border-bottom: solid 1px #d5d5d5;
    	text-align: center;
    	font-weight: bold;
    	color: #FFFFFF;
    }
    .offtab {
    	background-color : #e5e5e5;
    	border-left: outset 2px #E0E0E0;
    	border-right: outset 2px #E0E0E0;
    	border-top: outset 2px #E0E0E0;
    	border-bottom: solid 1px #d5d5d5;
    	text-align: center;
    	font-weight: normal;
    }
    .tabpadding {
    }
    .tabheading {
    	background-color: #ffae00;
    	text-align: left;
    }
    .pagetext {
    	visibility: hidden;
    	display: none;
    	position: relative;
    	top: 0;
    }
    .back_button {
    	text-align: center;
    	margin-top: 40px;
    }
    table.contenttoc {
    	color: #333300;
    	background-color: #e0e0e0;
    	border: 1px solid #ccc;
    	padding:5px;
    }
    table.contenttoc td {
        font-size: 8pt;
        font-weight: normal;
        text-align:left;
    	padding-left:5px;
    	padding-right:5px;
    }
    table.contenttoc th {
        font-size: 8pt;
        font-weight: normal;
        text-align:left;
    	padding:5px;
    	background-color:#333333;
    	color:#FFFFFF;
    }
    table.searchintro {
    	width: 100%;
    }
    table.searchintro td {
    	background-color: #293C43;
    	color: #ffffff;
    	font-weight: bold;
    }
    .readon {
    	display:block;
    	background:url(../images/read_more.gif) no-repeat;
    	color:#333333;
    	text-indent: -5000px;
    	width:100px;
    	height:20px;
    }
    .mosimage {
    	border: 1px solid #cccccc;
    	margin: 5px
    }
    .mosimage_caption {
    	margin-top: 2px;
    	background-color:#cccccc;
    	padding: 1px 2px;
    	color: #fff;
    	text-transform: normal;
    	font-size: 10px;
    	border-top: 1px solid #cccccc;
    }
    #core {
    	padding:0px 5px 5px 5px;
    	}
    
    
    #mod_down1 {
    	width:48%;
    	float:left; 
    	margin: 10px 2px 0 0;
    }
    #mod_down2 {
    	width: 50%;
    	float:right;
    	margin: 10px 2px 0 0;
    }
    
    #banner {
    	float: right;
    	background: #FFF;
    	width: 468px;
    	height: 60px;
    	border: 1px solid #ccc;
    }
    
    .joomladesignsfooter { 
    	clear: both; 
    	text-align: center;
    	line-height: 1.8em;
    	color: #808080;
    	background: #FFF;
    	padding: 10px 0 10px 0;
    	border-top: 1px solid #eee;
            font-weight: bold;
    }
    
    .joomladesignsfooter a {
    	color: #000;
    	background: #fff;
    }
     
    
    .wrap {
    	padding: 0;
    	margin: 10px auto;
    	text-align: left;
    	width: 920px; 
    }
    
    .content { 
    	border: 1px solid #E3E3E3;
    	padding: 5px;
    	margin: 10px auto;
    	text-align: left;
    	width: 920px; 
    	background: #fff;
    }
    
    .left {
    	float: left;
    	width: 23%;
    	margin: 0 0 10px 0;
    }
    
    .right {
    	float: right;
    	width: 76%;
    	margin: 2px 0 10px 0;
    }

  7. #6
    Hat hier eine Zweitwohnung Avatar von eresbe
    Registriert seit
    13.04.2006
    Ort
    Krefeld
    Beiträge
    1.496
    Bedankte sich
    28
    Erhielt 412 Danksagungen
    in 389 Beiträgen

    Standard

    Hi,

    Du hast AkoComment installiert. Schau mal im Componenten-Ordner von AkoComment, da müsste es einen Template-Ordner mit CSS-Datei sein. Suche nach folgendem Code:
    Code:
    #commentform td, p {
    font-family:Geneva,Arial,Helvetica,sans-serif;
    font-size:12px;
    font-weight:normal;
    text-indent:6px;
    }
    Wenn Du die letzte Zeile >> text-indent:6px;<< entfernst, müsste der Texteinzug verschwinden.
    Bismarck biss Marc, bis Marc Bismarck biss!
    Sag: "Wir denken an Euch…" Solidarität mit Soldaten zeigen

  8. Erhielt Danksagungen von:


  9. #7
    Neu an Board
    Registriert seit
    17.07.2007
    Beiträge
    4
    Bedankte sich
    2
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Vielen Vielen herzlichen Dank. Du hast soeben gepunktet!

    Hätte nicht gedacht, dass sich Akocomment Stylesheets auf den normalen Text auswirkt.

    Super!

+ Antworten

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein