Annonceindlæg fra Deloitte
18. januar 2002 - 16:50
#1
mener du sådan?? <html> <body> <div align=\"center\"> <table border=\"1\" width=\"400\" height=\"400\"> <tr> <td align=\"center\">tekst</td> </tr> </table> </div> </body> </html> eller kan du sætte width og height til 100%, og i den celle der står \"tekst\" kan du så sætte den egentlige tabel
18. januar 2002 - 17:35
#4
Lodret - så er der to grundtyper: 1: <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"> <HTML> <HEAD> <!-- Minus AutoDato --> <TITLE>[Ingen titel]</TITLE> <META NAME=\"Generator\" CONTENT=\"Stone\'s WebWriter 3\"> <STYLE TYPE=\"text/css\"> TABLE { height:100%; text-align:center; } </STYLE> </Head> <body style=\"margin-top:50px;margin-bottom:50px;margin-left:0px;margin-right:0px;\"> <div style=\"text-align:center;\"> <table width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#808080\"> <tr> <td> CSS-HTML </td> </tr> </table> </div> </body> </HTML> 2: <html> <!-- Minus AutoDato --> <head><title>vertikal-centreret tabel</title></head> <body style=\"margin-top:150;margin-bottom:150;margin-left:0px;margin-right:0px;\"> <table height=\"300px\" width=\"100%\" valign=\"middle\" align=\"center\" BORDER=\"1\"> <tr valign=\"middle\" align=\"center\"> <td valign=\"middle\" align=\"center\" style=\"height:300px\"> Centreret tabel </td> </tr> </table> </body> </html>