cucumber Posted August 3, 2006 Report Share Posted August 3, 2006 kapec kods neiet? td naizpleshas pa visu ekranu , bet ja ninem "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" pirmo rindu viss trada ? :( <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>interface</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body style="margin: 0px; padding: 0px;"> <!-- <table style="width: 100%; height: 100%;" border="1px"> nomainot neko nedot ? ?? --> <table width="100%" height="100%" border="1px"> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </body> </html> Link to comment Share on other sites More sharing options...
Aleksandrs Posted August 3, 2006 Report Share Posted August 3, 2006 (edited) google saka priekšā, pie body pieliec style="height:100%;" un lai uz FF rādītu pareizi vēl pie html jāpieliek, beigas sanāk tā: <style> html,body{ height:100%; } </style> Edited August 3, 2006 by Aleksandrs Link to comment Share on other sites More sharing options...
cucumber Posted August 3, 2006 Author Report Share Posted August 3, 2006 Ja iztiepjas, bet nepareizi, es gribu, lai laukums 1 un 3 ir constants px, bet vidus ir dinamisks , bet vinsh sanak nobida leja pa n px cik ir augshejais laukums ? Ko var darit lietas laba? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>interface</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> <!-- body { margin: 0px; padding: 0px; height:100%; } --> </style> </head> <body> <table style="height:100%; width:100%;" border="2px"> <tr> <td style="height: 20px;"> 1 </td> </tr> <tr> <td style="height: 100%;"> 2 </td> </tr> <tr> <td style="height: 30px;"> 3 </td> </tr> </table> </body> </html> Link to comment Share on other sites More sharing options...
Aleksandrs Posted August 3, 2006 Report Share Posted August 3, 2006 Tiek attēlots 1:1 kā ir uzdrukāts, ja tu norādiji <td style="height:100%;">, tad kaut kur arī tam jāparādas, bet visā visumā, ja tu gribi dinamiski, nenorādi vidējā <td height un lieto parsto HTML standartu <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Link to comment Share on other sites More sharing options...
cucumber Posted August 3, 2006 Author Report Share Posted August 3, 2006 (edited) bet pie ta standarta nevar tak validet lapas :( Un tad kada jega xhtml, ja del vina rodas vairak problemu neka labuma ? Tapat uz dazadiem browseriem savadak interpritejas . Edited August 3, 2006 by cucumber Link to comment Share on other sites More sharing options...
Aleksandrs Posted August 3, 2006 Report Share Posted August 3, 2006 Pie visiem standartiem var validēt lapas! - Tapēc tas arī ir standarts, pēc kura arī var izvalidēt. Viens plus ir tāds, ka jaunie telefoni spēj lasīt xhtml, tam tad arī var noderēt. Iespējams tavu problēmu var risināt, ja pagooglee vairāk.. Link to comment Share on other sites More sharing options...
cucumber Posted August 3, 2006 Author Report Share Posted August 3, 2006 nu bet ja sak validet pec <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> , tas jau vairs nav xhtml , jo tas ir vienkarshi html, bet vajaga lai xhtml validejas. Un kur var validet html 4.01 ieksh validator.3w.org vai kaut kas tam lidzigs Link to comment Share on other sites More sharing options...
bubu Posted August 3, 2006 Report Share Posted August 3, 2006 Tu pats atbildēji uz savu jautājumu. Jā tieši tur var validēt. Link to comment Share on other sites More sharing options...
cucumber Posted August 3, 2006 Author Report Share Posted August 3, 2006 bet es gribu validet ka xhtml ar sho headru <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> , bet tad blin izpleshas nepareizi ? Link to comment Share on other sites More sharing options...
Delfins Posted August 3, 2006 Report Share Posted August 3, 2006 (edited) paga, tā rinda nosaka PIRMĀM KĀRTĀM "rendera uzvedību", nevis tikai validācijas veidu... (patiesība validē jau tieši pēc tā, kas ir pateikts..., bet kods ta līks...) Ne jau smukumam tā rinda ielikta.. Edited August 3, 2006 by Delfins Link to comment Share on other sites More sharing options...
cucumber Posted August 3, 2006 Author Report Share Posted August 3, 2006 (edited) kavar panakt dat, ta ka es gribu un lai validejas (ar neliku kodu :) ) ? Tas ir piem pirma sadala ir header kas ir 50px augsta centra ir 100%, un footer ir 30px un viss ielien viena lapa ??? Edited August 3, 2006 by cucumber Link to comment Share on other sites More sharing options...
Recommended Posts