Jump to content

Recommended Posts

Posted

Exista mai multe modalitati de a aseza doua 2 div-uri pe aceeasi linie, insa, una dintre cele mai simple mi se pare urmatoarea:

<div> 
<div style="width:50%;Text-align:center;float:left;">Text/imagine/etc. afisate in partea stanga</div>
<div style="width:50%;Text-align:center;float:right">Text/imagine/etc. afisate in partea stanga</div>
</div>[/code] [b][color="#9ACD32"][i]Rezultat:[/i][/color][/b] 2divuriaceeasilinie.png De asemenea, folosind tabele, este posibil in urmatorul mod:
[code]<table>
<tr>
<td>First Div</td>
<td>Second Div</td>
</tr>
</table>

  • Upvote 1

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.