Umfrage Code anpassen
Verfasst: 23.03.2005 21:13
Hier ist die Umfrage Box (vom Portal) der AWSW-Intro und Portal Mod.
Nun hab ich die größe etwas verändert (<table width="190"...)
Falls jemand eine Umfrage postet, die ein sehr langes Wort beinhaltet (z.B ein Wort das aus 25 Buchstaben besteht) dann wird die Umfrage-Box automatisch mit dem text größer! Also die Box wird einfach breiter.
Dies will ich aber nicht.
Ich will, dass der Text dann abbricht und in der nächsten Zeile weitergeht, bzw. dass die Box nicht größer werden kann!
Wie kann ich das in dem Code einstellen, dass die Box auf keinem Fall größer wird?
danke
Code: Alles auswählen
<!-- ##### FETCH POLL START ##### -->
<!-- BEGIN switch_pollbox_active -->
<table width="190" border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" class="forumline">
<tr>
<th class="forumtitle" width="600">
<p align="center"><span class="cattitle"><b><font size="1" color="#FFFFFF">{IntroPortaltext18}:</font></b></span></p>
</th>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<form method="post" action="{S_POLL_ACTION}">
<br><center><b>{S_POLL_QUESTION}</b></center><br />
<!-- END switch_pollbox_active -->
<!-- BEGIN poll_option_row -->
<font size=1><input align="left" type="radio" name="vote_id" value="{poll_option_row.OPTION_ID}">{poll_option_row.OPTION_TEXT} [{poll_option_row.VOTE_RESULT}]</font><br />
<!-- END poll_option_row -->
<!-- BEGIN switch_pollbox_active_in -->
<br /><center><input type="submit" class="mainoption" name="submit" value="{L_VOTE_BUTTON}" {DISABLED}></center>
<!-- END switch_pollbox_active_in -->
<!-- BEGIN switch_pollbox_active -->
<input type="hidden" name="topic_id" value="{S_TOPIC_ID}">
<input type="hidden" name="mode" value="vote">
<br><center><span class="gensmall"><b><a href="viewtopic.php?t={S_TOPIC_ID}&postdays=0&postorder=asc&vote=viewresult" class="gensmall">{L_RESULT}</a></center></b></span>
</form>
</span></td>
</tr>
</table><br>
<!-- END switch_pollbox_active -->
<!-- ##### FETCH POLL END ##### -->
Nun hab ich die größe etwas verändert (<table width="190"...)
Falls jemand eine Umfrage postet, die ein sehr langes Wort beinhaltet (z.B ein Wort das aus 25 Buchstaben besteht) dann wird die Umfrage-Box automatisch mit dem text größer! Also die Box wird einfach breiter.
Dies will ich aber nicht.
Ich will, dass der Text dann abbricht und in der nächsten Zeile weitergeht, bzw. dass die Box nicht größer werden kann!
Wie kann ich das in dem Code einstellen, dass die Box auf keinem Fall größer wird?
danke