Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by vmars316

  1. Hi dsonesuk , I have spent the entire day scouring the internet trying to figure out what all this means . .two_col {width: 50%; float: left; background-color: lime; }.two_col + .two_col {background-color: blue;}.two_col > * {padding: 10px; } I see the results of course , but don't understand what applies to what . And I am quite surprised that <div and <p don't cause a line break , or <br> or some such . Can you explain all that to me , or aim me at a w3schools example . Thanks...vm
  2. Thanks dsonesuk , I am starting to get the picture . Could you show me a simple html/css presentation of the following structure : [ Cell ] [ Cell ] [ Cell ] [Cell] [ Cell ] [ Cell ] Thanks...vm
  3. The most modern practice for layout is to use float, width, margin and padding to lay things out on the page. Be sure to use the appropriate elements for the context, such as <section>, <article>, <p>, <figure> and so on. Ok , it seems that you are both aiming me at html5 . Is this correct ? With the code below , I get pretty much what I want . <!DOCTYPE html><html><head><style>table, th, td { border: 1px solid black;}</style></head><body><table style="width:100%"> <tr> <th>Welcome to myFavs Bookmark Manager !</th> </tr></table><table style="width:100%"> <tr> <td width="40%">myFavs.png</td> <td width="60%">The width attribute is not supported in HTML5. Use CSS instead. </td> </tr></table><table style="width:100%"> <tr> <td width="10%">Home<br>About<br>Links</td> <td width="90%">The width attribute is not supported in HTML5. Use CSS instead.</td> </tr></table><table style="width:100%"> <tr> <td width="100%">The width attribute is not supported in HTML5. Use CSS instead.</td> </tr></table><p>The width attribute is not supported in HTML5. Use CSS instead.</p></body></html> But will my above code be obsolete someday ? And could it be frowned upon by Google or others ? Likewise for html5 . ? Also , can html,css,html5,javascript,dhtml,xhtml all be used in the same webpage ? Thanks...Vern
  4. Hello & Thanks , Need some help on how to layout my html page . Html/table vs div vs html5/table vs css/table . Basically , I want Page to look like . Table: [ Cell ] [ Cell ] [ Cell ] [Cell] [ Cell ] [ Cell ] I'd rather not use Headers H1............H6 . Of 'Tables html/div/html5/css' which is most compatible for all browsers , And which may have the most longivity , as far as standards go ? I would like to be able to pick one (html/div/html5/css) and stick with it down the road . Thanks...Vern
  5. Hello & Thanks , I created a freeware program (myFavs) that creates an html page (myFavs.html) which has a bunch of dropDown menus . Each menu has a list of websites to click on . It works fine , except that when I click/select a link it reuses the same Tab as the myFavs.html I did the clicking on . But what I want to do , is to open up a new Tab for the clicked-on link . I believe all I need to do is to change the <select onchange= value . <select style="width:200px; font:14px Arial Black; color:rgb(0,0,0); background-color:rgb(231,169,126);" name="menu" onchange="window.open(this.options[this.selectedIndex].value,'_top')"> The part I need to change is this: onchange="window.open(this.options[this.selectedIndex].value,'_top')" To leave the myFavs.html open , AND open a New Window for the link clicked-on , what should that 'onchange=' be changed into ? Here is what the BuiltPage looks like: http://www.vmars316.com/ShowMe/MyIndex.html Thanks...Vern .
  6. Hi davej , I want to convert this .html page" https://www.biblegateway.com/reading-plans/chronological/2015/06/09?version=nlt 1st I "save page as" in Chrome browser , then feed this .html into Converter . I would like to convert it into .rtf and .txt . Thanks...Vern
  7. Hmm... Win7 x64 DocFrac program crashes at each use . Download docfrac-win32-gui-4.0.1-1.exe (4.5 MB) Thanks for your efforts , ...Vern
  8. Using LibreOffice , the best I could with Libre looks like :19 Better to be poor and honest than to be dishonest and a fool.2 Enthusiasm without knowledge is no good; haste makes mistakes.What I am trying to get the text out of is this :https://www.biblegateway.com/reading-pl ... ersion=nlt...Vern
  9. Hello & Thanks , I would like to convert .html to .rtf and/or .txt format . I found the following code @ stackoverflow.com/questions/150208/how-do-i-convert-html-to-rtf-rich-text-in-net-without-paying-for-a-component that converts html to rtf . I would like to insert code below , into an html page . Pls , what would the html/javascript (that wraps code) look like ? Using reportWebBrowser As New WebBrowser reportWebBrowser.CreateControl() reportWebBrowser.DocumentText = sbHTMLDoc.ToString While reportWebBrowser.DocumentText <> sbHTMLDoc.ToString Application.DoEvents() End While reportWebBrowser.Document.ExecCommand("SelectAll", False, Nothing) reportWebBrowser.Document.ExecCommand("Copy", False, Nothing) Using reportRichTextBox As New RichTextBox reportRichTextBox.Paste() reportRichTextBox.SaveFile(DocumentFileName) End Using End Using Thanks...Vern
  10. Wow Ingolme , You are quick-on-the-draw . Thank you!
  11. Hello & Thanks , <TABLE> <TR><TD style="height:4px; width:4px; background-color:#E6E9FE;"></TD> </TABLE></body></html> Is there a way to eliminate the spaces between <TD> Elements ? So that td's show as one big square ? Thanks...Vern
  12. Thanks , The following line of PB (pure basic) that creates the proper html-code is this: LTTD01$ = "<TR><TD style="+#DQ$+"height:50px; background-color:#"+TBox02dot$+";"+#DQ$+">"+OneLine$+"</TD>" The code that Chrome (etc.) sees is this: <TR><TD style="height:50px; background-color:#E6E9FE;">0,0,E6E9FE</TD> I am happy with this. I don't understand what you mean by "escape-code". Thanks..vm
  13. Hello & Thanks , Turns out I needed to create a DoubleQuote constant (#DQ$ = chr(34)) and then all went well . Here is the winning line: LTTD01$ = "<TR><TD style="+#DQ$+"height:50px; background-color:#"+TBox02dot$+";"+#DQ$+">"+OneLine$+"</TD>" If anyone is interested, I am happy to Post the PureBasic code, 111 Lines. Thanks All !..vm
  14. OH, Thanks, I just noticed the &quote;'s in there . Let me replace all the &quote; with &qout; and rerun it...
  15. Thanks, I generate the code from a program . Here is a sample of the code . I can't hand the program any imbedded " so I am using " instead . Any suggestions ? Thanks..vm Procedure FileOut(OneLine$) ; Input file looks like this: ; 41,1,E0FCE9 ; 42,1,E0FAE8 ;TBox02.s = "E0FCE9" ; Output file looks like this ;OneLine$ = TableRow If FileOpen = 0 ; MessageRequester("FileOpen = 0", "ColorTable.html") If CreateFile(2, "ColorTable.html") FileOpen = 1 WriteStringN(2,"<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN ">") WriteStringN(2,"<html><head>") WriteStringN(2,"<meta charset="utf-8"><title>xRainbow-Project</title>") WriteStringN(2,"<style>") WriteStringN(2,"table td {border: 1px solid black; color: Black;}</style>") WriteStringN(2,"</head><body>") WriteStringN(2,TableBeg$) Else MessageRequester("PureBasic", "Error: can't Create file", 0) End EndIf ; CreateFile(2, EndIf ; FileOpen = 0
  16. Hello & Thanks , Need help, I can't figure out what's wrong with this code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN "> <html><head> <meta charset="utf-8"><title>xRainbow-Project</title> <style> table td {border: 1px solid black; color: Black;}</style> </head><body> <TABLE> <TR><TD style= "height: 50px; background-color: #E6E9FE &quote;>0,0,E6E9FE <TR><TD style= "height: 50px; background-color: #E7EAFF &quote;>1,0,E7EAFF </Table> </body> </html> Thanks..vm
  17. "doesnt work = no 'alert'". " myFunction(); ". Sorry to say, I didnt realize that. Thanks a lot.
  18. Ya, I even changed it to : <script type="text/javascript"> function myFunction() { var i = 0; while (i < 3) { alert("alert box #1"); alert("alert box #2"); i++; } } </script> And it still doesn't work. I'll try a reboot.
  19. I just want to create a looping structure. Using only js. Eventually, alert 1 & 2 will be, or point to functions.
  20. Thanks, Ok, fixed the curly brackets . I can't see the if error. I think I mean continue, so flow will go up to start. But still no go. <script type="text/javascript"> function myFunction() { var i = 0; start: while (i < 3) { alert("alert box #1"); alert("alert box #2"); i++; if (i < 3) continue start; break; } } </script> Thanks..vm
  21. Hello & Thanks; The following doesn't work, pls, how come ? <script type="text/javascript"> function myFunction() { var i = 0; start: while(i < 3) { alert("alert box #1"); alert("alert box #2"); i++; if(i < 3) continue start; break; } </script> Thanks..vm
  22. Thanks Folks, here is the current code : <style type="text/css">.catg {style="border: 1px; border-style:solid; border-color:#BB96A8; background-color:#CCC2B6; color:#FFFFFF; font-size: 12pt; font-weight:bold;"} .desc {style="border: 1px; border-style:solid; border-color:#BB96A8; background-color:#CCC2B6; color:#FFFFFF; font-size: 14pt; font-weight: bold;"} a:link{color: #FFFFFF;} a:hover {color: #FFFFFF;} a:active{color: #FFFFFF;} a:visited{color: #FFFFFF;}</style> <table><!-- style="color:#F1E9DC;">[~Most-Used] --><tr><td class="catg">[~Most-Used]</td><td class="desc"><a href="http://alternativeto.net/">AlternativeTo Software</a></td></tr> <tr><td class="catg">[~Most-Used]</td><td class="desc"><a href="http://www.quickerthanaspark.com/BenghaziGame/BenghaziGame.html">Benghazi Game Intro</a></td></tr></td></tr> <tr><td class="catg">[~Most-Used]</td><td class="desc"><a href="http://www.hotmail.com/?">hotmail.com</a></td></tr> <tr><td class="catg">[~Most-Used]</td><td class="desc"><a href="http://jsdo.it/vmars316/8D5g/edit">jsdo.it javascript</a></td></tr> <tr><td class="catg">[~Most-Used]</td><td class="desc"><a href="http://www.portablefreeware.com/?">portablefreeware.com/</a></td></tr>
  23. newseed,I couldn't get the following to work. [/size]<style type="text/css">div#mylinks {background-color: blue;}div#mylinks a {background-color: lightgreen;}</style></head>...............<div class="mylinks">..............</div class="mylinks"> Above, what am I doing wrong ?The following works but is painfully verbose: [/size]<br><span style="color:#E7A97E; font-weight:bold; background-color:#726B50">[~Most-Used] </span><a href="http://www.quickerthanaspark.com/BenghaziGame/BenghaziGame.html"><span style="color:#FFFFFF; background-color:#645E46 ">Benghazi Game Intro</span></a> <br><span style="color:#E7A97E; font-weight:bold; background-color:#726B50">[Arduino] </span><a href="http://www.manning-sandbox.com/forum.jspa?forumID=788&start=0"><span style="color:#FFFFFF; background-color:#645E46 ">~Arduino in Action Forum</span></a> Pls note, that the textColors and background-color are diff for Category([~Most-Used] and [Arduino]) and aLinks. Thanks
  • Create New...