Jump to content
php.lv forumi
Sign in to follow this  
freak

Tabulas

Recommended Posts

freak   

Esmu uztaisijis tabulu, kur pirmaja rindaa ir divas šunas 100px platas, bet treshai platums tik, cik atliek lidz malas galam.

Otraja rinda es uztaisiju pirmo šunu ari 100px platu, bet otro un tresho apvienoju, bet gljuks uz IE ir tads, ka liekot shaja shunaa garu tekstu (text4 text4..) vinjsh nezinkapec pirmaja rinda izmaina otrajai shuunai (text2) izmeru uz lielaku. Pataisa plataku. Ka to atrisinat?

 

 

<table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0" >

 

<tr>

<td width="100" >text1</td>

<td width="100">text2</td>

<td >text3</td>

</tr>

 

<tr>

<td width="100" >text3</td>

<td colspan=2 >

text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4 text4

</td>

</tr>

 

</table>

Share this post


Link to post
Share on other sites
freak   
Maybe ... <td colspan=2 width="200" >

 

Neder, jo tad tas text4, bus ierobezhots, bet vinjam jaiet lidz galam.

Edited by freak

Share this post


Link to post
Share on other sites
Evi   

uzliec lielus %tus pirmaa rindaa 3.shuunai - kur ir text3, taa taas tabulas shuunas daraas, vai arii visaam shuunaam saliec width, vai meegjini visaas shuunaas ar %tiem.

Edited by Evi

Share this post


Link to post
Share on other sites
Sign in to follow this  

×