ilch Forum » Ilch Clan 1.1 » Fehlersuche und Probleme » schriftfarbe in der Antispambox

Geschlossen
  1. #1
    User Pic
    Thlerum Mitglied
    Registriert seit
    22.03.2007
    Beiträge
    104
    Beitragswertungen
    0 Beitragspunkte
    Hey Leute ich verwende ein design, welches einen schwarzen background und weiße schirft hat. Nun ist es so, dass der hintergrund von dem eingabefeld bei der Antispambox weiß ist und viele denke, dass es nicht funktioniert, da sie nichts erkennen können weil wegen weiß auf weiß halt glücklich

    wo und wie änder ich das ab? ich denke in der css aber wie mit .antispam funst es ned

    body {
    	background-color: #000000;
    	margin: 0;
    }
    .bodyspacer {
    	background-image: url(../Bilder/bodyspacer.jpg);
    	background-repeat: repeat-y;
    }
    .loginspacer {
    	background-image: url(../Bilder/loginspacer.jpg);
    	background-repeat: repeat-y;
    	height: 100%;
    	width: 252px;
    }
    .warsspacer {
    	background-image: url(../Bilder/warsspacer.jpg);
    	background-repeat: repeat-y;
    	height: 100%;
    	width: 496px;
    }
    .lpostspacer {
    	background-image: url(../Bilder/lpostspacer.jpg);
    	background-repeat: repeat-y;
    	height: 100%;
    	width: 252px;
    }
    .contenttop {
    	background-image: url(../Bilder/contenttop.jpg);
    	background-repeat: no-repeat;
    	height: 32px;
    	width: 496px;
    }
    
    .contentspacer {
    	background-image: url(../Bilder/contentspacer.jpg);
    	background-repeat: repeat-y;
    	height: 100%;
    	width: 496px;
    }
    .menuspacer_le {
    	background-image: url(../Bilder/menuspacer_le.jpg);
    	background-repeat: repeat-y;
    	height: 100%;
    	width: 252px;
    }
    .menuspacer_re {
    	background-image: url(../Bilder/menuespacer_re.jpg);
    	background-repeat: repeat-y;
    	height: 100%;
    	width: 252px;
    }
    .menutop_le {
    	background-image: url(../Bilder/menu_le.jpg);
    	background-repeat: no-repeat;
    	height: 32px;
    	width: 252px;
    }
    .menutop_re {
    	background-image: url(../Bilder/menun_re.jpg);
    	background-repeat: no-repeat;
    	height: 32px;
    	width: 252px;
    }
    #hmenu {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #FFFFFF;
    	height: auto;
    	width: auto;
    	margin-top: 10px;
    	margin-right: 5px;
    	margin-left: 60px;
    }
    
    
    
    
    #explode {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    	width: auto;
    	margin-right: 12px;
    	margin-left: 12px;
    }
    #boxes_lpost {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    	height: auto;
    	width: auto;
    	margin-right: 38px;
    	margin-left: 8px;
    }
    #boxes_login {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    	height: 125px;
    	width: auto;
    	margin-right: 8px;
    	margin-left: 32px;
    }
    #boxes_warsabstand {
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    	height: auto;
    	width: auto;
    	margin-right: 8px;
    	margin-left: 8px;
    }
    .log1 /*für nickname hg*/
    {
    	color: #CCCCCC;
    	width: 198px;
    	height: 19px;
    	border-width: 1px;
    	border-color: #2E2D2D;
    	font-weight: normal;
    	text-decoration: none;
    	text-align: center;
    	vertical-align: 20%;
    	padding-top: 0px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	background-image: url(../Bilder/name.jpg);
    	background-repeat: no-repeat;
    	background-color: #2E2D2D;
    	background-position: left top;
    }
    .log2 /*für pw hg*/
    {
    	color: #CCCCCC;
    	background-color: 2E2D2D;
    	width: 198px;
    	height: 19px;
    	font-weight: normal;
    	text-decoration: none;
    	text-align: center;
    	padding-top: 0px;
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 11px;
    	background-image: url(../Bilder/passw.jpg);
    	background-repeat: no-repeat;
    	border-top-width: 1px;
    	border-right-width: 1px;
    	border-bottom-width: 1px;
    	border-left-width: 1px;
    	border-top-color: #2E2D2D;
    	border-right-color: #2E2D2D;
    	border-bottom-color: #2E2D2D;
    	border-left-color: #2E2D2D;
    	vertical-align: bottom;
    	background-position: center top;
    }
    .logbutton /*für loginbutton*/
    {
    	width: 59px;
    	height: 49px;
    	border-width: 0px;
    	font-weight: normal;
    	text-decoration: none;
    	background-image: url(../Bilder/login.jpg);
    	background-repeat: no-repeat;
    	padding-bottom: -2px;
    }
    .menulinksinner {
    	height: auto;
    	width: auto;
    	margin-right: 6px;
    	margin-left: 37px;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    }
    .menulinkstitel {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #CCCCCC;
    	height: auto;
    	width: auto;
    	margin-right: 8px;
    	margin-left: 82px;
    	margin-top: 8px;
    }
    .menurechtsinner {
    	height: auto;
    	width: auto;
    	margin-right: 38px;
    	margin-left: 8px;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    }
    .menurechtstitel {
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #CCCCCC;
    	height: auto;
    	width: auto;
    	margin-right: 36px;
    	margin-left: 52px;
    	margin-top: 8px;
    }
    .menu
    {
    	display:block;
    	color: #FFFFFF;
    	font-size: 11px;
    	width: 208px;
    	height: 26px;
    	text-indent: 50px;
    	text-decoration: none;
    	font-family:  Verdana, sans-serif;
    	line-height: 19px;
    	background-image: url(../Bilder/mainbutton.jpg);
    	background-repeat: no-repeat;
    }
    .menu:hover
    {
    	display:block;
    	color: #CCCCCC;
    	font-size: 11px;
    	width: 208px;
    	height: 26px;
    	text-indent: 50px;
    	text-decoration: none;
    	font-family:  Verdana, sans-serif;
    	line-height: 19px;
    	background-image: url(../Bilder/mainbutton-over.jpg);
    	background-repeat: no-repeat;
    }
    #lastpost a:visited {
    	color: #FFFFFF;
    	font-size: 12px;
    	text-decoration: none;
    	font-family: Arial, Helvetica, sans-serif;
    }
    #lastpost a:hover {
    	color: #165C5C;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	text-decoration: none;
    }
    #lastpost a:link {
    	color: #666666;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	text-decoration: none;
    } 
    #lastwarsabstand a:visited {
    	color: #999999;
    	font-size: 10px;
    	text-decoration: none;
    	font-family: Arial, Helvetica, sans-serif;
    }
    #lastwarsabstand a:hover {
    	color: #165C5C;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	text-decoration: none;
    }
    #lastwarsabstand a:link {
    	color: #FFFFFF;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	text-decoration: none;
    }
    a:hover 
    {
    	text-decoration: none;
    	color: #990000;
    }
    a:link {
    	font-family: verdana;
    	font-size: 10px;
    	color: #FFFFFF;
    	text-decoration: none;
    }
    a:visited {
    	font-family: verdana;
    	font-size: 10px;
    	color: #FFFFFF;
    	text-decoration: none;
    }
    a.box 
    { 
      color: #FFFFFF; 
    	font-family: Verdana; 
    	font-size: 10px; 
    	text-decoration: none; 
    }
    a.box:hover 
    {
    	text-decoration: none;
    	color: #990000;
    }
    
    .Chead
    {
    	color: #666666;
    	background-repeat: repeat-x;
    	height: 20px;
    	background-color: #1D1D1D;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    }
    .Chead td, .Chead td strong, .Chead h4, .Chead td b
    {
    	color: #666666;
    	background-repeat: repeat-x;
    	height: 20px;
    	background-color: #1D1D1D;
    	font-size: 10px;
    }
    
    .Callg
    {
      background-color: #1D1D1D;
    	color: #FFFFFF;
    }
    
    .Callg td
    {
      color: #FFFFFF;
    }
    
    .Cnorm 
    {
    	background-color: #1D1D1D;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    }
    .Cmite
    {
    	background-color: #1D1D1D;
    	height: auto;
    	width: auto;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    }
    .Cdark
    {
    	background-color: #1D1D1D;
    	font-family: Arial, Helvetica, sans-serif;
    	font-size: 12px;
    	color: #FFFFFF;
    }
    
    .smalfont 
    { 
        font-size: 10px;
    		text-decoration: none; 
    }
    
    .border 
    { 
       background-color: #666666; 
    }
    hr 
    {
    	height: 0px;
    	border-top-width: 1px;
    	border-right-width: 0px;
    	border-bottom-width: 0px;
    	border-left-width: 0px;
    	border-top-style: groove;
    	border-right-style: groove;
    	border-bottom-style: groove;
    	border-left-style: groove;
    	border-top-color: #6D6C6C;
    	border-right-color: #6D6C6C;
    	border-bottom-color: #6D6C6C;
    	border-left-color: #6D6C6C;
    }
    
    input, textarea, select
    {
    	color: #999999;
    	font: 12px Verdana;
    	font-weight: none;
    	text-decoration: none;
    	background-color: #1D1D1D;
    	border: 1px solid #949494;
    }


    Danke im Voraus


    verwendete ilchClan Version: 1.1
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    MVN050 Mitglied
    Registriert seit
    20.09.2008
    Beiträge
    1.273
    Beitragswertungen
    29 Beitragspunkte
    input, textarea, select
    {
    color: #999999;
    font: 12px Verdana;
    font-weight: none;
    text-decoration: none;
    background-color: #1D1D1D;
    border: 1px solid #949494;
    }



    verändern
    0 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    Thlerum Mitglied
    Registriert seit
    22.03.2007
    Beiträge
    104
    Beitragswertungen
    0 Beitragspunkte
    aber nur die shoutbox soll schwarzen text haben und der rest soll weiß bleiben geht das?
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    Fire86 Mitglied
    Registriert seit
    25.04.2009
    Beiträge
    543
    Beitragswertungen
    0 Beitragspunkte
    Musst du halt die shoutbox.php im boxes Ordner ändern.
    Beim input ein style="hier dein CSS kram" einfügen.
    Kein Support per Email oder ICQ!
    0 Mitglieder finden den Beitrag gut.
  5. #5
    User Pic
    Thlerum Mitglied
    Registriert seit
    22.03.2007
    Beiträge
    104
    Beitragswertungen
    0 Beitragspunkte
    gibst da nichts allgemeines weil im GBOOK ja auch nen antispam ist unter anderem und wie mach ich das genau?

    bin nen kleiner HTML Newbie
    0 Mitglieder finden den Beitrag gut.
  6. #6
    User Pic
    Saarlonz Hall Of Fame
    Registriert seit
    07.08.2008
    Beiträge
    3.003
    Beitragswertungen
    235 Beitragspunkte
    Du erstelltst einfach eine neue Klasse in der style.css wie z.B antipspam und änderst in allen hmtl datein wo das der Antipspam verwendet wird die "class=XYZ" in" class=antipspam"
    0 Mitglieder finden den Beitrag gut.
  7. #7
    User Pic
    Thlerum Mitglied
    Registriert seit
    22.03.2007
    Beiträge
    104
    Beitragswertungen
    0 Beitragspunkte
    beginnt eine klasse mit einem "." oder ohne?
    0 Mitglieder finden den Beitrag gut.
  8. #8
    User Pic
    Thlerum Mitglied
    Registriert seit
    22.03.2007
    Beiträge
    104
    Beitragswertungen
    0 Beitragspunkte
    hab hin und her probiert aber das geht nicht kann einer von euch das mal versuchen?

    die css ist ja oben und der code aus der gbook.htm folgt hier:
      <table width="100%">
    	  <tr>
    		  <td width="50%" align="right">
    			  {EINTRAGE} {_lang_entries}
    			</td>
    		  <td width="50%" align="center">
    			  <a href="index.php?gbook-1">{_lang_insert}</a>
    			</td>
    		</tr>
    	 </table>
    	
    	<br>
    {EXPLODE}
    
    <table width="100%" cellpadding="4" cellspacing="0" border="0" class="rand">
    	<tr class="Cmite">
    	    <td width="40%"><b>{NAME}</b></td>
    			<td width="20%">{MAIL}{PAGE}</td>
          <td width="30%" align="right">{DATE}</td>
     	</tr>
    	<tr class="Cnorm">
    		  <td colspan="3">{TEXT}</td>
    	</tr>
    </table>
    {koms}
    <br />
    <br />
    {EXPLODE}
    
    
    <br />
    <br />
    
    <div align="center">{SITELINK}</div>
    
    {EXPLODE}
    
    <!-- G &auml; S T E B U C H   E N T E R   F O R M U L A R -->
    
    
    <script language="JavaScript" type="text/javascript">
    <!--
      
    	var ErlaubteAnzahl={TXTL};
    	
    	
    	function checkg ( ) {
    	  if ( document.form.txt.value.length > ErlaubteAnzahl ) {
    		  alert('Du hast mehr als ' + ErlaubteAnzahl + ' Zeichen verwendet');
    			return false;
    		} else {
    		  var fehler = '';
    			if ( document.form.txt.value.length == 0 ) {
    			  fehler += 'Bitte einen Text eingeben';
    			}
    			if ( document.form.name.value.length == 0 ) {
    			  if ( fehler != '' ) {
    				  fehler += "\n";
    				}
    				fehler += 'Bitte einen Namen eingeben';
    			}
    			if ( fehler != '' ) {
    			  alert ( fehler );
    				return false;
    			} else {
    			  return true;
    			}
    		}
    	}
    
    function RestlicheZeichenErmitteln(d)
    {
    	Laenge=document.form.txt.value.length;
    	if(Laenge>ErlaubteAnzahl)
    	{
    		document.form.txt.value=document.form.txt.value.substring(0,ErlaubteAnzahl);
    		RestlicheZeichen=0;
    	}
    	else
    	{
    		RestlicheZeichen=ErlaubteAnzahl-Laenge;
    	}
    	document.form.Laenge.value=RestlicheZeichen;
    }
    
    //-->
    </script>
    
    <script type='text/javascript' src='include/includes/js/bbcode.js'></script>
    <form action="index.php?gbook-2" onsubmit="return checkg()" method="POST" name="form">
    
    <table width="100%" class="border" cellspacing="1" border="0" cellpadding="5">
      <tr>
        <td class="Chead" colspan="2"><b>{_lang_insert}</b></td>
    	</tr><tr>
        <td class="Cmite" width="100"><b>{_lang_name}</b></td>
    		<td class="Cnorm"><input type="text" value="{uname}" tabindex="1" name="name"></td>
    	</tr><tr>
        <td class="Cmite"><b>{_lang_mail}</b> *</td>
    		<td class="Cnorm"><input type="text" name="mail" tabindex="2"></td>
    	</tr><tr>
        <td class="Cmite"><b>{_lang_homepage}</b> *</td>
    		<td class="Cnorm"><input type="text" name="page" tabindex="3"></td>
    	</tr><tr>
      <td class="Cmite" valign="top"><b>{_lang_message}</b><br><br>{SMILIES}</td>
    	<td class="Cnorm">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="100%">
          <!-- BB Code START -->
    	   
        <a href="javascript:simple('b')"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.bold.gif" alt="b" title="{_lang_bold}" border="0"></a>
        <a href="javascript:simple('i')"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.italic.gif" alt="i" title="{_lang_italic}" border="0"></a>
    	<a href="javascript:simple('u')"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.underline.gif" alt="u" title="{_lang_underlined}" border="0"></a>
        <a href="javascript:simple('code')"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.code.gif" alt="Code" title="{_lang_code}" border="0"></a>
    	<a href="javascript:simple_liste()"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.insertunorderedlist.gif" alt="{_lang_list}" title="{_lang_list}" border="0"></a>
        <a href="javascript:simple('url')"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.link.gif" alt="Url" title="{_lang_link}" border="0"></a>
        <a href="javascript:simple('img')"><img style="padding-left: 4%; float: left;" 
    
    src="include/images/icons/button.image.gif" alt="{_lang_picture}" title="{_lang_picture}" border="0"></a>
    
    		 
    		 <!-- BB Code START -->
    				</td>
          </tr><tr class="Cnorm">
            <td width="100%"><textarea style="width: 98%" onblur="RestlicheZeichenErmitteln(this);" 
    
    onchange="RestlicheZeichenErmitteln(this);" onfocus="RestlicheZeichenErmitteln(this);" 
    
    onkeydown="RestlicheZeichenErmitteln(this);" onkeyup="RestlicheZeichenErmitteln(this);" cols="50" rows="10" tabindex="4" 
    
    name="txt"></textarea><br />Noch <input size="3" name="Laenge" value="{TXTL}"> {_lang_signs}</td>
          </tr>
        </table></td>
    	</tr>{ANTISPAM}<tr class="Cdark">
      <td></td><td><input type="submit" value="{_lang_formsub}" tabindex="5" accesskey="s"></td>
    	</tr></table></form>
    
    {EXPLODE}
    <table width="100%" cellpadding="4" cellspacing="0" border="0" class="rand">
    	<tr class="Cmite">
    	    <td width="40%"><b>{name}</b></td>
    			<td width="20%">{mail}{page}</td>
          <td width="30%" align="right">{datum}</td>
     	</tr>
    	<tr class="Cnorm">
    		  <td colspan="3">{text}</td>
    	</tr>
    </table>
    <br />
    <table width="100%" cellpadding="4" cellspacing="0" border="0" class="rand">
    	<tr class="Cnorm">
        <td>
    	    <form action="index.php?gbook-show-{id}" method="POST">
            <fieldset>
              <legend>{_lang_writecomment}</legend>
              <input type="text" name="name" value="{uname}" /> &nbsp; {ANTISPAM} &nbsp; <input type="submit" 
    
    value="{_lang_enter}"><br />
              <textarea style="width: 98%" cols="50" rows="2" name="text"></textarea><br />
            </fieldset>
          </form>
          <br />
          {EXPLODE}
         
          <span class="Cmite"># <b>{zahl}</b> von {name}</span>
          <br />{text}<br /><br />
          
          {EXPLODE}
        </td>
      </tr>
    </table>
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Fehlersuche und Probleme

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten