bassz Posted August 17, 2003 Report Share Posted August 17, 2003 probleema ir visai primitiiva: ir 17 (piem.) bildes, ir tabula..vajag lai peec katraam bilde buutu savaa td un katras 10 bildes savaa tr! tagad paraadaas jautaajums - how to ;) Link to comment Share on other sites More sharing options...
Kaklz Posted August 17, 2003 Report Share Posted August 17, 2003 http://paste.php.lv/276 Link to comment Share on other sites More sharing options...
cuuu Posted August 25, 2003 Report Share Posted August 25, 2003 lieto css un vareesi dabuut taa ka tev kolonas vienmeer buus tieshi tik lai saliistu ekraanaa/browsera logaa gy http://www.alistapart.com/stories/practicalcss/ Link to comment Share on other sites More sharing options...
zandx Posted January 4, 2004 Report Share Posted January 4, 2004 Lieto html. <table> <tr> <td></td> </tr> </table> Kāpēc sarežģīt dzīvi? Link to comment Share on other sites More sharing options...
hu_ha Posted January 4, 2004 Report Share Posted January 4, 2004 (edited) gribeeju gudraak, bet aplauzos :) Edited January 4, 2004 by hu_ha Link to comment Share on other sites More sharing options...
Venom Posted January 12, 2004 Report Share Posted January 12, 2004 tas tā: $n=17; $c=0; echo '<table>'; while($c<=$n) { echo '<tr>'; for($d=1;$d<=10;$d++) { echo '<td>'.($result['bilde']?'<img src="'.$result['bilde'].'">':' ').'</td>'; $c++; } echo '</tr>'; } echo '</table>'; bet tas CSS arīdzan nav slikts Link to comment Share on other sites More sharing options...
Chickenz Posted May 20, 2004 Report Share Posted May 20, 2004 Nezinu vai derees tachu ja gribi fotogaleriju uztaisiit izmanto shamo scriptu: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <body> <? echo "<table cellspacing=\"5\" bgcolor=\"#EEEEDD\"><tr><td>"; $bigdir = "lielaas"; $smalldir = "mazaas"; $d_handle=opendir($smalldir); $col_id = 1; while (($filename=readdir($d_handle))!= false) { if (strlen($filename) > 3) { echo '<a href="'.$bigdir.'/'.$filename.'"><img border=\"0\" src="'.$smalldir.'/'.$filename.'"></a>'; if ($col_id++ % 4 == 0) { echo '</td></tr><tr><td>'; } else { echo '</td><td>'; } } } echo '</td></tr></table>'; ?> </body> </html> thats all folks!!! B) Link to comment Share on other sites More sharing options...
Gizmo Posted October 19, 2005 Report Share Posted October 19, 2005 Uztaisīju ar CSS, bet izrādījās ka uz mozillu tas neiedarbojas! Link to comment Share on other sites More sharing options...
bubu Posted October 19, 2005 Report Share Posted October 19, 2005 Nepareizi ustaisīji tātad. Link to comment Share on other sites More sharing options...
Klez Posted October 19, 2005 Report Share Posted October 19, 2005 pat jau mekleet ir slinkums. vai kaut bik pastaigaat pa forumu. http://php.lv/f/index.php?showtopic=2935 vaidzeetu taadu sisteemu, kad registreejaas, tad uzreiz lietotaajam tiek aizsuutiita privaata zinja kuraa ir liidziigs teksts: pirms ko jautaa, paskaties šeit http://php.lv/f/index.php?showtopic=2935 , jo iespeejams ka atbilde uz tavu jautaajumu ir tur! Link to comment Share on other sites More sharing options...
Gizmo Posted October 19, 2005 Report Share Posted October 19, 2005 Darīju kā pats agrāk teici: .table2 { float: left; } Uz IE viss O.K. Link to comment Share on other sites More sharing options...
Gizmo Posted October 19, 2005 Report Share Posted October 19, 2005 Nu es jau māku sameklēt, bet gribēju tik painformēt ka ar variants ar CSS uz Mozillas, vismaz manā izpildījumā, nedarbojās. Pie reģistrācijas tad jau labāk uzlikt obligāto testu par pamatzināšanām Link to comment Share on other sites More sharing options...
bubu Posted October 19, 2005 Report Share Posted October 19, 2005 (edited) ...gribēju tik painformēt ka ar variants ar CSS uz Mozillas, vismaz manā izpildījumā, nedarbojās. uzsvars! :) Edited October 19, 2005 by bubu Link to comment Share on other sites More sharing options...
hu_ha Posted October 19, 2005 Report Share Posted October 19, 2005 Offtop, Mļin, vai nav bik par traku vecus topickus cilāt? Link to comment Share on other sites More sharing options...
bubu Posted October 19, 2005 Report Share Posted October 19, 2005 Bet cilvēks taču pēc 5 mēnešu laika: Uztaisīju ar CSS...!Uztaisīja! Link to comment Share on other sites More sharing options...
Recommended Posts