Jump to content
php.lv forumi

Table <TR> margin


Recommended Posts

Posted

Tada tabulinja :

 

<table width="90%" border="0" cellspacing="0" cellpadding="0">
 <form action="a" method="get" name="b">
 <tr>
   <td bordercolor="#000000" style="border:solid 1px #000000;"> </td>
 </tr>
 </form>

 <form action="a" method="get" name="b">
 <tr>
   <td bordercolor="#000000" style="border:solid 1px #000000;"> </td>
 </tr>
 </form>

 <form action="a" method="get" name="b">
 <tr>
   <td bordercolor="#000000" style="border:solid 1px #000000;"> </td>
 </tr>
 </form>
</table>

 

Gribēju starp <TR> tegiem uztaisīt atstarpes, lai tas rindas nelīp kopā, bet nesanāk ?! :D

Kas pa vainu ?

Izmēģināju margin(top,bottom),padding(top,bottom), pat tas pats <br> neliidz, bāzu kur vaig un kur nevaig, rezultāts 0 .

Posted

Tada tabulinja :

 

<table width="90%" border="0" cellspacing="0" cellpadding="0">
 <form action="a" method="get" name="b">
 <tr>
   <td bordercolor="#000000" style="border:solid 1px #000000;"> </td>
 </tr>
 </form>

 <form action="a" method="get" name="b">
 <tr>
   <td bordercolor="#000000" style="border:solid 1px #000000;"> </td>
 </tr>
 </form>

 <form action="a" method="get" name="b">
 <tr>
   <td bordercolor="#000000" style="border:solid 1px #000000;"> </td>
 </tr>
 </form>
</table>

 

Gribēju starp <TR> tegiem uztaisīt atstarpes, lai tas rindas nelīp kopā, bet nesanāk ?! :D

Kas pa vainu ?

Izmēģināju margin(top,bottom),padding(top,bottom), pat tas pats <br> neliidz, bāzu kur vaig un kur nevaig, rezultāts 0 .

 

Nu nezinu vai form tagu var bāzt starp table un tr...

Un kas tas tāds bar bordercolor, ja tev jau style ir nodefinēts rāmis??

Posted

ar border color vienk. nepamanīju.

Nu jā ja bez form'am tad atstarpes sanāk iebāzt.

Tapēc dīvaini..kapēc lai nevaretu.. hm..

 

Paprovē validēt html, palasi dokumentācijas, ko var un ko ne...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...