Seite 1 von 1

CSS Problem

Verfasst: 26.09.2010 17:54
von Miraculix
Hallo,
ich wollte eine neue class="buttonamc" und class="buttonamc2" machen, um mein Problem mit dem mouseover effekt villeicht mit css zu lösen ....
dennoch bekomme ich es einfach nicht hin :(


hier der css code der in der button.css steht

Code: Alles auswählen

/* Custom BBCODE Button */
.buttonamc { 
	width: 28px !important;
    height: 35px !important;
    border: 0px solid !important;
	background-image: url('{T_IMAGESET_PATH}/de/button_bold1.gif');
    }
 /*   .buttonamc:hover {
background-image: url('{T_IMAGESET_PATH}/de/buttom_bold1.gif');
    }*/
	
.buttonamc2 { 
	width: 56px !important;
    height: 35px !important;
    border: 0px solid!important;
	background-image: none;
    }
 /*   .buttonamc2:hover {
		background-image: none;
    }*/
hier der html code

Code: Alles auswählen

<div>	<input type="button" class="buttonamc" accesskey="b" name="addbbcode0" value="" onClick="bbstyle(0)" title="{L_BBCODE_B_HELP}" /><input type="button" class="buttonamc" accesskey="i" name="addbbcode2" value="" style="background: url('{T_IMAGESET_PATH}/de/button-italic.gif');" onClick="bbstyle(2)" title="{L_BBCODE_I_HELP}" /><input type="button" class="buttonamc" accesskey="u" name="addbbcode4" value="" style="background: url('{T_IMAGESET_PATH}/de/button-underline.gif');" onClick="bbstyle(4)" title="{L_BBCODE_U_HELP}" /><!-- IF S_BBCODE_QUOTE --><input type="button" class="buttonamc" accesskey="q" name="addbbcode6" value="" style="background: url('{T_IMAGESET_PATH}/de/button-quote.gif');" onClick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" /><!-- ENDIF --><input type="button" class="amcbutton" accesskey="c" name="addbbcode8" value="" style="background: url('{T_IMAGESET_PATH}/de/code.gif');" onClick="bbstyle(8)" title="{L_BBCODE_C_HELP}" /><input type="button" class="amcbutton" accesskey="l" name="addbbcode10" value="" style="background: url('{T_IMAGESET_PATH}/imageset/de/button-list.gif');" onClick="bbstyle(10)" title="{L_BBCODE_L_HELP}" /><input type="button" class="amcbutton" accesskey="o" name="addbbcode12" value="" style="background: url('{T_IMAGESET_PATH}/de/button-tabbed-list.gif'); " onClick="bbstyle(12)" title="{L_BBCODE_O_HELP}" /><input type="button" class="amcbutton" accesskey="t" name="addlitsitem" value="" style="background: url('{T_IMAGESET_PATH}/de/listitem.gif');" onClick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
	<!-- IF S_BBCODE_IMG -->
		<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onClick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
	<!-- ENDIF -->
	<!-- IF S_LINKS_ALLOWED -->
		<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
	<!-- ENDIF -->
	<!-- IF S_BBCODE_FLASH -->
		<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onClick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
	<!-- ENDIF -->
	<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
			<option value="150">{L_FONT_LARGE}</option>
			<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
				<option value="200">{L_FONT_HUGE}</option>
			<!-- ENDIF -->
		<!-- ENDIF -->	</select>
	<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onClick="change_palette();" title="{L_BBCODE_S_HELP}" />
	<!-- BEGIN custom_tags -->
		<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onClick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
	<!-- END custom_tags -->
	<!-- IF not S_PRIVMSGS--> <!-- INCLUDE wowhead_buttons.html --> <!-- ENDIF -->
</div>
<!-- ENDIF -->
so sieht das Ganze dann aus :-?
[ externes Bild ]

was mache ich falsch, kann mir bitte jemand helfen

Mit freundlichen Gruß
Miraculix

EDIT// habs nun doch endlich gelöst :roll: