xmas12 Posted May 6, 2010 Report Share Posted May 6, 2010 Sveiki, veidoju forumu, bet man ir problēma ar teksta izvietojumu tabulā : , tātad šeit bilde bet es gribu lai to tekstu rāda tabulas aukšā nevis vidū : Kods uz to tabulu : <td bgcolor="#2E2E2E">Pievienots:<b>'.$rows['pievienots'].'</b> / Pievienoja: <a href="index.php?lapa=lietotajs&'.$rows['pievienoja'].'">'.$rows['pievienoja'].'</a><br />'.$rows['teksts'].'</td> Kur ir problema ? Quote Link to comment Share on other sites More sharing options...
Леший Posted May 6, 2010 Report Share Posted May 6, 2010 <td valign="top"> Quote Link to comment Share on other sites More sharing options...
briedis Posted May 6, 2010 Report Share Posted May 6, 2010 (edited) bgcolor atribūts, manuprāt ir vērsture. Kam domātas class un style atribūts? Problēma ir tā, ka tabula defaultā pozicionē datus vertikāli pa vidu. Atrodi gūglē, kā pozicionēt datus šūnā... EDIT: Aleksej, nav interesanti, ka šitā pasaka priekšā :D Edited May 6, 2010 by briedis Quote Link to comment Share on other sites More sharing options...
xmas12 Posted May 6, 2010 Author Report Share Posted May 6, 2010 (edited) To Леший Jau meiģināju, nestrādā! :( Edited May 6, 2010 by xmas12 Quote Link to comment Share on other sites More sharing options...
Леший Posted May 6, 2010 Report Share Posted May 6, 2010 Apskaties ar firebug, vai nav kaut kāds CSS vertical-align atribūts paķerts. Pārbaudi, moš tev kāds superbrowseris: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_td_valign Quote Link to comment Share on other sites More sharing options...
xmas12 Posted May 6, 2010 Author Report Share Posted May 6, 2010 Aizgāja, paldies.... Naksiet vairāk uzmanibu pievērst html :) Quote Link to comment Share on other sites More sharing options...
briedis Posted May 6, 2010 Report Share Posted May 6, 2010 (edited) Gan jau, ka esi pieļāvis kādu neuzmanības kļūdu. Parādi html. EDIT: kur ta bija problēma? Edited May 6, 2010 by briedis Quote Link to comment Share on other sites More sharing options...
xmas12 Posted May 6, 2010 Author Report Share Posted May 6, 2010 Gan jau, ka esi pieļāvis kādu neuzmanības kļūdu. Parādi html. EDIT: kur ta bija problēma? Vienkārši nebiju ielicis : <td valign="baseline"></td> Quote Link to comment Share on other sites More sharing options...
Леший Posted May 6, 2010 Report Share Posted May 6, 2010 (edited) Ja iet baseline, tad jāiet arī top. Ieraksti top, refrešo kārtīgi, iespējams, kāds kešs, pārliecinies ar firebug, ka tur tiešam ir top. EDIT: baseline nav gluži tas pats, ka top. Edited May 6, 2010 by Леший Quote Link to comment Share on other sites More sharing options...
vtk Posted May 6, 2010 Report Share Posted May 6, 2010 bgcolor atribūts, manuprāt ir vērsture. Kam domātas class un style atribūts? Problēma ir tā, ka tabula defaultā pozicionē datus vertikāli pa vidu. Atrodi gūglē, kā pozicionēt datus šūnā... EDIT: Aleksej, nav interesanti, ka šitā pasaka priekšā :D cik es zinu, doctaipaa var noraadiit konkretu schemu, piemeram http://www.w3.org/TR/xhtml1-schema/#xhtml1-transitional, kura vel tas "bgcolor" ir atlauts :) Quote Link to comment Share on other sites More sharing options...
briedis Posted May 6, 2010 Report Share Posted May 6, 2010 cik es zinu, doctaipaa var noraadiit konkretu schemu, piemeram http://www.w3.org/TR/xhtml1-schema/#xhtml1-transitional, kura vel tas "bgcolor" ir atlauts :) Protams, bet tas ir so nineties :) Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 6, 2010 Report Share Posted May 6, 2010 Kādā hr**ā šitas ir pie PHP?? Nāktos pārvietot pie HTML/CSS. =P Quote Link to comment Share on other sites More sharing options...
Pentiums Posted May 7, 2010 Report Share Posted May 7, 2010 tad jau labāk jāuztaisa jauna sadaļa NINETIES jeb 90's :)) Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 7, 2010 Report Share Posted May 7, 2010 Arī fakts. "Table" tagu drīkstētu izmantot tikai tabulām, ne dizaina elementiem! =) Quote Link to comment Share on other sites More sharing options...
Pentiums Posted May 7, 2010 Report Share Posted May 7, 2010 par to ko drīkst nedrīkst ir grūti spriest :)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.