[Typo3] how can i create the repeatable data objects in another format

zsl vincent zsl339 at hotmail.com
Fri Nov 11 16:29:37 CET 2005


Bartosz Aninowski wrote:
>>link to this:
>>Url one, Url two.
> 
> you can do somthing like this
> <div>link1</div>
> <div>link2</div>
> <div>link3</div>
> <div>link4</div>
> then use float in css to get them in one line 
> 
> 
HI
       i deleted the table format in the html codes and insert the <div> 
into the html so now i have successfully got the format like this
----------------------
link to this:
link1, link2, link3 ......
........
----------------------
but now here comes a new question,let us see the html again
-----------------------
<table width="100%" border="0" cellspacing="0" cellpadding="0">
               <tr>
                 <td class="label" colspan="2" height="20"><b>Global 
Infrastructure
                   Links</b></td>
               </tr>
               <tr>
                 <td width="7" nowrap>
                   <p>&nbsp;</p>
                 </td>
                 <td><a href="#">ANGI,</a> <a href="#">Security,</a> <a 
href="#">
                   Anti-virus,</a> <a href="#"> Messaging,</a> <a 
href="#"> N.A.Infra.operations,</a><br>
                   td>
               </tr>
               <tr>
                 <td colspan="2" height="8"></td>
               </tr>
             </table>
-------------------------------
let us pay attention to the "<td width="7" nowrap> <p>&nbsp;</p> </td>" 
and "<tr> <td colspan="2" height="8"></td></tr>" these codes are used 
for the format of the content element so that the output can like this
------------------------------
link to this:
<td width="7" nowrap> <p>&nbsp;</p> </td> link1,link2,link3....   //this 
means there
                                                                     is 
blank in front of
                                                                     the 
link1 so dass it
 
looks good than before


<tr>
<td colspan="2" height="8"></td>
</tr>                                // this means there is a row 
between the link
                                       title "link to this" and link 
title"link to that"
                                       so that it also looks better
link to that:
(blank) link1,link2,link3.........
------------------------------------------------------
how can i achieve this purpose by use of the tag <div>?
happen weekend
vincent






More information about the TYPO3-english mailing list