Seite 1 von 1

Fehler bei CSS Head SubTrail-Layout

Verfasst: 23.06.2004 18:58
von Djork
Hab versucht die Links im Head zu ändern, bekomms aber einfach nicht gebacken. Dennis Böge meinte, ich soll das hier mal posten.

Also folgendes Prob:
Im Link sind nur manche Sachen Unterstrichen, wenn man drüber fährt, aber nicht alle. Hier zu sehen: http://www.djork.de/board/index.php

Das ganze sieht in der overall_header.php so aus:

Code: Alles auswählen

											<span class="mainmenu">&nbsp;
												<a href="{U_FAQ}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a>&nbsp;&nbsp;
												<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp;&nbsp;
												<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp;&nbsp;
												<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;&nbsp;
										<!-- BEGIN switch_user_logged_out -->
												<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a>&nbsp;&nbsp;
										<!-- END switch_user_logged_out -->
												<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;
												<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp;&nbsp;
												<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subTrail/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;&nbsp;
											</span></td>
Im subTrail.css so:

Code: Alles auswählen

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #ffffff }
a.mainmenu		{ text-decoration: none; color : #ffffff;  }
a.mainmenu:hover{ text-decoration: underline; color : #ffffff; }
a.mainmenu:visited{ text-decoration: none; color : #ffffff; }
a.mainmenu:active{ text-decoration: none; color : #ffffff; }
a.mainmenu:link{ text-decoration: none; color : #ffffff; }
Woran kann das also liegen???

Bin für jede Hilfe dankbar...

Verfasst: 23.06.2004 19:02
von Dennis63
Hi

Ich kenne Djork. Daher hat er mich vorher im ICQ gefragt. Es geht hauptsächlich um die Links im Header "FAQ, Einloggen, usw".

Ich bin aber net der CSS-Profi und sehe irgendwie keinen Fehler da drinne...

- Das nur mal so, nicht daß hier fragen aufkommen, wieso er mich nennt...

Grüße
Dennis

Verfasst: 23.06.2004 19:14
von Djork
Ok, hat sich erledigt.
Hab die Reihenfolge in:

Code: Alles auswählen

.mainmenu		{ font-size : 11px; color : #ffffff }
a.mainmenu		{ text-decoration: none; color : #ffffff;  }
a.mainmenu:link		{ text-decoration: none; color : #ffffff; }
a.mainmenu:visited	{ text-decoration: none; color : #ffffff; }
a.mainmenu:active	{ text-decoration: none; color : #ffffff; }
a.mainmenu:hover		{ text-decoration: underline; color : #ffffff; }
geändert und es funktioniert.