Results 1 to 5 of 5

Thread: rtf gridlines

  1. #1
    Senior Member Wok's Avatar
    Join Date
    Dec 2002
    Location
    Alkmaar
    Posts
    2,085

    rtf gridlines

    Hoe krijg ik de gridlines in mijn htmlpagina

    Een struc van een tbel in een Rtf bestand
    Click image for larger version. 

Name:	rtf_lijst.PNG 
Views:	177 
Size:	17.6 KB 
ID:	8331

    De pagina voor htmlviewer
    Click image for larger version. 

Name:	rtf_page.PNG 
Views:	192 
Size:	21.5 KB 
ID:	8332

    Het resultaat, als html pagina
    Click image for larger version. 

Name:	rtf_html.PNG 
Views:	178 
Size:	18.0 KB 
ID:	8333
    Waar zijn mijn lines gebleven ?

    Gr. Peter
    10.4.2, Delphi2010, of Lazarus 2.2.0

  2. #2
    Als je ons de HTML laat zien, dan kunnen we je het antwoord geven.

    Bart

  3. #3
    En zet die htmlviewer de rtf dan om naar html?
    Welke htmlviewer is dat?
    Of welke rtf2html gebruik je?

    (Duidelijk dat die lijnen niet om zet.)

    Ps. Vaak is het zo dat de lijnen in rtf van een tabel niet te beïnvloeden zijn. Dan weet de rtf2html dus niet of het de bedoeling is om er lijnen omheen te zetten.

    Je kunt uiteraard met de toevoeging van een simpele css weer lijnen om de <table> forceren.

  4. #4
    Senior Member Wok's Avatar
    Join Date
    Dec 2002
    Location
    Alkmaar
    Posts
    2,085
    Gemaakt in Helpscribble, maar die compileert via Html Help Workshop


    HTML Code:
    1. <HTML><HEAD>
    2.     <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
    3.     <TITLE>&lt;new topic&gt;</TITLE>
    4.     <META NAME="VIEWPORT" CONTENT="width=device-width">
    5.     <META NAME="KEYWORDS" CONTENT="Test">
    6.     <META NAME="AUTHOR" CONTENT="Peter">
    7.     <META NAME="GENERATOR" CONTENT="HelpScribble 8.3.1">
    8.     <STYLE> span { display: inline-block; }</STYLE>
    9. </HEAD>
    10. <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
    11. <P><FONT FACE="Arial, helvetica, sans-serif" SIZE="2">
    12. <A HREF="testlist.html">Contents</A>
    13.  - <A HREF="idx.htm">Index</A>
    14. </FONT><HR></P>
    15. <P STYLE="margin-top:0;margin-bottom:0;"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"><B>Table - Testlijst</B></FONT></P>
    16. <P STYLE="margin-top:0;margin-bottom:0;"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">&nbsp;</FONT></P>
    17. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"><B><U>TestId  </U></B></FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Long integer &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN></P>
    18. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">FullName  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Char  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">47 &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN></P>
    19. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">LastName  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Char  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">25 &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN></P>
    20. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">FirstName  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Char  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">20 &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN></P>
    21. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Nationality  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Long integer &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">TableNaw.TestId &nbsp;</FONT></SPAN></P>
    22. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">DateBirth  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Date &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN></P>
    23. <P STYLE="margin-top:0;margin-bottom:0;text-indent:-3pt;"><SPAN STYLE="text-indent:0pt;width: 71303281pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Comment  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 120pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">Char  </FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 43pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">20 &nbsp;</FONT></SPAN><SPAN STYLE="text-indent:0pt;width: 191pt"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5"> &nbsp;</FONT></SPAN></P>
    24. <P STYLE="margin-top:0;margin-bottom:0;"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">&nbsp;</FONT></P>
    25. <P STYLE="margin-top:0;margin-bottom:0;"><FONT FACE="Times New Roman, times, roman, serif" SIZE="5">UNIQUE INDEX&nbsp; TESTLIJST.TestId
    26. </FONT>
    27. </P>
    28. </BODY></HTML>
    Last edited by Wok; 19-Jun-23 at 18:32.
    10.4.2, Delphi2010, of Lazarus 2.2.0

  5. #5
    Ik zie hier volgens mij nergens een HTML table.
    Vreselijke HTML overigens, het soort dat je krijgt als je MS Word vraagt een simpele tekst als HTML op te slaan.

    Staat er überhaupt een tabel definitie in je bronbestand (richt text format)?

    Bart

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •