←  Pytania

AMXX.pl: Support AMX Mod X i SourceMod

»

HTML
Zdanie obok zdania, jedno po lewej drugie...

mlekowita's Photo mlekowita 14.12.2011

Witam. Mam problem tak jak w nazwie tematu.

Chcę aby w moim motd było coś takiego
I. Regulamin Serwera Deathrun					II. Zasady gry Deathrun
tutaj punkty  regulaminu								   punkty zasad

Proszę o kod ;)
Quote

  • +
  • -
verman's Photo verman 14.12.2011

Proszę bardzo:
<table width="100%" border="0">
<tr>
<td width="50%" align="left">I. Regulamin Serwera Deathrun</td>
<td width="50%" align="left">II. Zasady gry Deathrun</td>
</tr>
<tr>
<td width="50%" align="left">tutaj punkty  regulaminu</td>
<td width="50%" align="left">punkty zasad</td>
</tr>
<tr>
<td width="50%" align="left">tutaj punkty  regulaminu2</td>
<td width="50%" align="left">punkty zasad2</td>
</tr>
<tr>
<td width="50%" align="left">tutaj punkty  regulaminu3</td>
<td width="50%" align="left">punkty zasad4</td>
</tr>
</table>
Quote

mlekowita's Photo mlekowita 14.12.2011

Dzięki. Nie pomyślałem, żeby to zrobić z tabelą. ;) :plus:
Quote

  • +
  • -
Gh0st's Photo Gh0st 14.12.2011

Można też float
float: left/right
Quote

-PainKiller-'s Photo -PainKiller- 14.12.2011

tabele, idealne rozwiązanie w latach 90-tych....
Quote

  • +
  • -
verman's Photo verman 14.12.2011

To jest tylko motd. Bo co kombinowac skoro można użyc zwykłej tabelki?
Quote

-PainKiller-'s Photo -PainKiller- 14.12.2011

no cóż, rób jak wolisz ja bym to szybciej machnął w divach
Quote

  • +
  • -
verman's Photo verman 14.12.2011

To trzeba było zrobic na divach, a nie nabijac sobie posty.
Quote

  • +
  • -
Leihto's Photo Leihto 14.12.2011

<div style="margin:0 auto; width:600px; height:auto;">

<div style="float:left;">Tekst po lewej</div>

<div style="float:right;">Tekst po prawej</div>

<div style="clear:both;"></div></div>
Quote