Jump to content

Funce

Moderator
  • Posts

    602
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Funce

  1. You can use any given Bootstrap 4 page by erasing what's there and then adding the code you wish to test.
  2. Is this code incomplete? There's nothing to suggest that this would do anything of what your saying. With no content and that styling, the table actually shows up at a whopping 6 by 6 pixels. Nowhere close to twice a 4K monitor. Also trying using a code block to better highlight your code.
  3. You could try using relative to root links, that way if the current page changes, moves or duplicates, they still point to the same place. The only thing with this is you'll need to update them all should you need to move any of the linked pages. Relative to root paths start with '/' and are relative to wherever is "https://url.domain/index.html" (for example) <a href="/path/to/file.html">Link</a> So if you wanted to find https://w3.schools.invisionzone.com/topic/59575-html-header-tag/ (this thread) You would go like this <a href="/topic/59575-html-header-tag/">This Thread</a>
  4. What's your current SQL code looking like? What are the errors? For all we know your computer could be on fire, and that's why it doesn't complete the query. However, this doesn't sound too difficult, replace the "date"s below to your form references (too long ago since I did MS access to remember how it works) SELECT * FROM table WHERE date BETWEEN "date_from" AND "date_to"
  5. w3schools is one of my go-to sites whenever I need to clarify anything surrounding my HTML or CSS. I tend to look at MDN more for JS, and php.net for PHP.
  6. Funce

    C#

    Our only VB and C# are connected to ASP.NET, the only tutorials provided that pertains to web pages. Have a look at the tutorials here: https://www.w3schools.com/asp/default.asp
  7. I just tested this in the python compiler, below is valid python code. dice1 = 123 print(dice1) Outputs: 123 Is there a particular error which is showing up? Any other code you could provide?
  8. Please include your code in a code block to make it easier for people to help you.
  9. The method I use for this (because my JS is in a separate file) is to place the value in a hidden element, and then retrieve the value from there. If this value updates as you use it, just remember to get the value again each time you use it. I'm not too familiar with angular bindings to know what happens if you change it with JavaScript. <span id="rowID" style="display:none">{{FolderDetails[0].RowId}}</span> <script> var rowID = document.getElementById("rowID").textContent; //Now do stuff with your newly gained Angular Value </script>
  10. Hi there, welcome to the Forums! When you use a code block, you may want to select the language that you're writing in so that the syntax highlighting is correct for it. You also might have a bit of an easier time following your program flow if you include indentation. What are you expecting to happen, vs what's actually happening here? Is nothing happening? Do you always end up in "outofarea"? Is there a design choice surrounding the use of multiple event handlers for the different polygons?
  11. Are you referring to the video timeline? Like previews for different timestamps? Yeah that's going to take a lot more than a bit of css and js. You're going to need to create a custom video timeline (because you don't want to try and access the native browser ones), get snapshots at the various times, map cursor position to the timeline, match that up to the snapshot that it corresponds to, and display it as applicable. (either on the cursor, or otherwise) And if you're doing something like this, you might as well just embed YouTube for all the good its worth.
  12. Hi there, I must've missed this when I cleared out my unreads, sorry about that. w3.css applies base styling to semantic elements such as figure. In this example, the figure element has the base style of: figure { margin: 1em 40px; } Using the inbuilt element inspector in most browsers reveals what styling is being applied. You'll need to find a way to override this margin, probably with a custom class.
  13. I was trying to be somewhat clever, but I thought a potato and a peeler was too on the nose. Haha
  14. Hey there, Welcome to the forum! HTML and JavaScript are about as different as a potato and a knife. HTML are the building blocks of most web pages (Unsure if there is one that isn't), and uses CSS to style the HTML into a pleasing format. JavaScript in its most basic form creates interactivity and flexibility with HTML and CSS. Yeah so HTML is your structure, CSS is your design, and JS makes it work. Query data, move objects around the page, change CSS, change HTML. Have a look at the JavaScript tutorial for more information surrounding it! https://www.w3schools.com/js/ JS HTML DOM tutorial will show you more about the interactivity, and how JS can meld your HTML. https://www.w3schools.com/js/js_htmldom.asp
  15. Funce

    HTML/CSS Help

    Hi there, Your code hasn't translated that well through direct copy-paste, may I ask that you edit your post with the code inside a code block?
  16. The code on that page is just written in alphabetical order. What does your code look like?
  17. Personally, I keep track of my opening and closing tags through indentation. The easiest way to show the use of it is to use table tags. <table> <tr> <td> Lorem ipsum dolor sit amet </td> <td> Consectetur adipisicing </td> </tr> <tr> <td> Lorem ipsum dolor sit amet </td> <td> Consectetur adipisicing </td> </tr> </table> Or if the content is short enough: <table> <tr> <td>Lorem ipsum dolor sit amet</td> <td>Consectetur adipisicing</td> </tr> <tr> <td>Lorem ipsum dolor sit amet</td> <td>Consectetur adipisicing</td> </tr> </table>
  18. Hi there, You might be able to use a combination of findIndex and includes. As below: fruits.findIndex(element => element.includes("Mango"))
  19. Hi Paul, I'd be happy to help you find the issue, but your title isn't telling me exactly what's happening. What's going on?
  20. You can omit a closing PHP tag on a file that doesn't output to prevent this from occurring.
  21. At the bottom of that page you'll be able to find a Report Error button. If you click that and include the details here, you should have a better chance at reaching the developers.
  22. The main error here states There is no Kit tag in the XML shown. I'm about 80% sure that this isn't the file that is having issues. Could you show us the file that defines kits in your game?
  23. That's because break-before isn't a valid CSS declaration. You can't write it in-line because it has to come out when printing only. You need to write it in your CSS (<style> or .css file) as follows @media print { .pagebreak { clear: both; min-height: 1px; page-break-after: always; } } Then you need to add this element where you want a pagebreak <div class="pagebreak"></div>
  24. I imagine that you have a <body> and <html> tags elsewhere. Have you tried using the browser dev tools, if you select that div you can see what stylings are being applied to it. Your CSS is a little interesting, your sans-serif font declaration seems to be after your font-weight? with no semi-colon in between it may be erroring out.
  25. If the highlighted numbers match every time, then could I recommend placing them in separate fields when they're inserted? That way you can use a proper SQL JOIN with all the efficiencies associated with it? If this isn't an option , then you can use SUBSTRING_INDEX if you're using MYSQL SELECT SUBSTRING_INDEX(field, '*', 2) FROM table that'll give you the string up to the second *.
×
×
  • Create New...