Inuyascha
Moin
Was muss man eig ändern , damit man den Style in die Mitte sitzen kann? Hab einen,aber der ist so ganz Links.
Das Problem ist eher,das bei manchen es Mitte ist und bei manchen ned. Woran liegts?
Und meine zweite Frage ist,wo und was ich ändern muss um neue Farbcodes reinzumachen. (Also die bei Color da oben)
Biggi
Im originalen Template header steht folgendes in der ersten Zeile:
code: |
1:
|
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="{$style['tableoutborder']}" class="tableoutborder"> |
|
Das align="center" in dieser Zeile ist dafür zuständig, den kompletten Style zu zentrieren.
Also solltest du bei deinen linksbündigen Styles mal ins Template header gucken. Da wird irgendwo align="left" in der ersten Zeile stehen. Das kannst du dann in align="center" ändern.
Deine zweite Frage habe ich nicht verstanden.
"Color da oben" ist eine sehr vage Angabe.
Die meisten Farbanpassungen macht man jedoch im Designpack.
Ansosnten mußt du mal genauer beschreiben, was du meinst.
Inuyascha
Erm..align="left" steht nirgendswo,oder bin ich blind?
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
|
<div style="position:absolute;top:0">
<table style="width:{$style['tableoutwidth']}" cellpadding="{$style['tableoutcellpadding']}" cellspacing="{$style['tableoutcellspacing']}" align="center" border="0" class="tableoutborder;background-image:url('images/sweet_dreams/background_image.png;background-position:middle;background-repeat:repeat-y">
<tr>
<td class="mainpage" align="center">
<div style="background-image:url('images/sweet_dreams/background_image.png');background-repeat:repeat-y;background-position:center">
<table style="margin:0" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="logobackground" align="center"><if($style['logoimage']!="")><then><align="center"><a href="index.php{$SID_ARG_1ST}"><img src="{$style['logoimage']}" border="0" alt="$master_board_name" title="$master_board_name" /></a></align></then></if></td>
</tr>
<tr>
<td align="center"><div style="margin:0;background-image:url('{$style['imagefolder']}top_bg.png');background-repeat:repeat-x;width:980px">
<if($wbbuserdata['userid'])><then><a href="usercp.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_usercp.png" border="0" alt="{$lang->items['LANG_GLOBAL_USERCP']}" title="{$lang->items['LANG_GLOBAL_USERCP']}" style="margin:0;float:left" /></a>
<a href="pms.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}top_pms.png" border="0" alt="{$lang->items['LANG_GLOBAL_PMS']}" title="{$lang->items['LANG_GLOBAL_PMS']}" style="margin:0;float:left" /></a></then>
<else><a href="register.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}top_register.png" border="0" alt="{$lang->items['LANG_GLOBAL_REGISTER']}" title="{$lang->items['LANG_GLOBAL_REGISTER']}" style="margin:0;float:left" /></a></else></if>
<a href="calendar.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}top_calendar.png" border="0" alt="{$lang->items['LANG_GLOBAL_CALENDAR']}" title="{$lang->items['LANG_GLOBAL_CALENDAR']}" style="margin:0;float:left" /></a>
<a href="memberslist.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}top_members.png" border="0" alt="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" title="{$lang->items['LANG_GLOBAL_MEMBERSLIST']}" style="margin:0;float:left" /></a>
<a href="team.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}top_team.png" border="0" alt="{$lang->items['LANG_GLOBAL_TEAM']}" title="{$lang->items['LANG_GLOBAL_TEAM']}" style="margin:0;float:left" /></a>
<a href="search.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}top_search.png" border="0" alt="{$lang->items['LANG_GLOBAL_SEARCH']}" title="{$lang->items['LANG_GLOBAL_SEARCH']}" style="margin:0;float:left" /></a>
<a href="misc.php?action=faq{$SID_ARG_2ND}"><img src="{$style['imagefolder']}top_faq.png" border="0" alt="{$lang->items['LANG_GLOBAL_FAQ']}" title="{$lang->items['LANG_GLOBAL_FAQ']}" style="margin:0;float:left" /></a>
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==1)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.png" border="0" alt="{$lang->items['LANG_GLOBAL_ACP']}" title="{$lang->items['LANG_GLOBAL_ACP']}" style="margin:0;float:left" /></a></then></if>
<a href="index.php{$SID_ARG_1ST}"><img src="{$style['imagefolder']}/top_start.png" border="0" alt="{$lang->items['LANG_GLOBAL_TOINDEX']}" title="{$lang->items['LANG_GLOBAL_TOINDEX']}" style="margin:0;float:left" /></a>
<if($wbbuserdata['a_can_use_acp']==1 && $wbbuserdata['a_acp_or_mcp']==0)><then><a href="acp/index.php" target="_blank"><img src="{$style['imagefolder']}/top_acp.png" border="0" alt="{$lang->items['LANG_GLOBAL_MODCP']}" title="{$lang->items['LANG_GLOBAL_MODCP']}" style="margin-right:0;float:left" /></a></then></if>
<div style="width:200px"> </div>
</div></td>
</tr>
</table><br /></div>
<div style="background-image:url('images/sweet_dreams/background_image.png');background-repeat:repeat-y;background-position:center"> |
|
Was meine zweite Frage angeht.. Ja sry,hab mich bissl unklar ausgedrückt.
Ich meinte was man ändern muss um noch mehr Farben einzufügen.
1234 (usw)
Und ich will eben für "Color Menü" noch ein paar einfügen
hardcore-punk
Color Menü?
Du meinst eine neue Schriftfarbe mit CSS anlegen?
Bzw. poste mal Url zum Forum, damit man den Quelltext genau sieht, um den Fehler wegen dem center zu finden...
Inuyascha
Ja,genau
Wegen Quelltext... Ich hab den Style nicht als Standard. Kann dir es per Pn schicken wenn du willst.