Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Ingolme

    Overline with arrows

    That's one way to do it. It'll take even more work to get the arrow to cross over two or more variables. Possible, sure, but not easy. It's not a feature built into the language was what I was getting at. It certainly would be nice if more browsers supported MathML.
  3. I use MDN for HTML and CSS. W3Schools is good for learning. Their primary job is to teach the basics and they do a pretty good job making things easy to understand. It is not complete as a reference, but that's not the focus. As for W3Schools not being kept up to date, I have seen evidence that it is getting updated pretty frequently. It is pretty often that new forum members mention pages on the site that I was not aware existed.
  4. Base tag https://www.w3schools.com/tags/tag_base.asp
  5. https://www.w3schools.com/code/tryit.asp?filename=G64JNREP019O
  6. 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.
  7. 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>
  8. Funce

    SQL Dates Between

    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"
  9. Browser: Chrome (displaying at 100%) Desktop Monitor: 4K When displaying a simple table of one cell, the table displays roughly twice the size it should. Just as though you zoomed in 200%. I have a 4K desktop monitor and the table should display the full width 3840px and a height of 2560px. But the table is displaying twice that size. How do I display this table so it fits correctly on my screen (3840 x 2560)? How can something so simple be this difficult to accomplish? HTML Code: <!DOCTYPE html> <html> <head> <title> Test </title> <link rel="stylesheet" type="text/css" href="css/styles.css"> </head> <body> <table> <tr> <td> </td> </tr> </table> </body> </html> Style Sheet Code: body{ margin: 0; }
  10. 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.
  11. I don't know how often the site gets updated, but in the past there have been problems with things that were out of date, or using bad examples.
  12. I suggest you validate your html, you have wrongly placed element tags and it seems you have made up tag names which is not allowed. You setup the default styling of anchors a { text-decoration: underline; color: blue; } Then the styling in order of a:link, a:visited, a:hover, a:active
  13. background-position: initial; on @media work! U are amazing! Thank u!
  14. I have multiple instances of the same URL on the same page and, when I duplicate the page, I have to manually change every single href for this particular URL. Is there a way to specify this URL in the header so that every instance points to this new URL without having to manually change every one? What about multiple urls? so..A=https:...., B=https:...., C=https:...
  15. In your CSS, is the same style that's being applied to kulturnat-box also being applied to rosenfeldt-box?
  16. Hi justsomeguy thanks for your help. mysource looks like this: <main> <span> <div class="rosenfeldt-box"> <under-overskrift> <a href="2017Rosenfeldt.html">Rosenfeldt 2017</a> </under-overskrift> </div> </span> <span> <div class="kulturnat-box"> <under-overskrift> <a href="2018Kulturnat.html">Kulturnat Vordingborg 2018</a> </under-overskrift> </div> </span> </main> and I am not able to understand your writings about the missing styles 🐵 Anders
  17. Hello, Long-time reader, first time posting. I got my bachelor's in software development a few years ago now and my courses were all online. I didn't know any of my classmates, communication wasn't great and getting help from the instructor involved emailing your question, waiting like a day, getting part of it answered, ask follow-up questions, wait a day. Rinse and repeat. I got through my homework each night largely due to the information I found on w3schools.com. There were others of course, but w3schools was a staple for me. I've always liked how it's laid out and how things are presented. We got talking about it at work and a coworker said I'm taking my chances by using w3schools.com because the information is out of date and that it's no longer curated or kept up to date by anyone. I grew to like it and w3schools.com is still a go-to resource for me so I'm curious. Obviously these forums are active, but is that true?
  18. dsonesuk

    Overline with arrows

    Do you mean use HTML/CSS like this https://www.w3schools.com/code/tryit.asp?filename=G645EZ9AAZ7U
  19. Hiii I am working on MS Access 2013. My data contains a subform with 'Failure-Dates' column in it. Now I want to add two text boxes in Main form as 'Date From' and 'Date to' and also add Search button . So if I select any dates in this columns I will get data according to these dates. I want data between these two dates. But my dates are not fixed. Any user can insert any date according to his will. I added all this but when i click on search button, its not working or some errors are displayed. Peae help me out with this error.
  20. Last week
  21. Most likely browsers have this limit to save memory and processing when rendering tables. The table rendering algorithm is pretty slow. Perhaps you should consider a different method to represent the family trees. In fact the tree structure of HTML is ideal for representing tree-like structures. First create the family tree structure using lists in HTML, then use CSS to style them however needed. <ul> <li><span>Item 1</span> <ul> <li><span>Item 1.1</span> <ul> <li><span>Item 1.1.1</span> <ul> <li><span>Item 1.1.1.1</span> <ul> ... </ul> </li> <li><span>Item 1.1.1.2</span> <ul> ... </ul> </li> </ul> </li> <li><span>Item 1.1.2</span> <ul> <li><span>Item 1.1.2.1</span> <ul> ... </ul> </li> <li><span>Item 1.1.2.2</span> <ul> ... </ul> </li> </ul> </li> </ul> </li> <li><span>Item 1.2</span> <ul> <li><span>Item 1.2.1</span> <ul> <li><span>Item 1.2.1.1</span> <ul> ... </ul> </li> <li><span>Item 1.2.1.2</span> <ul> ... </ul> </li> </ul> </li> <li><span>Item 1.2.2</span> <ul> <li><span>Item 1.2.2.1</span> <ul> ... </ul> </li> <li><span>Item 1.2.2.2</span> <ul> ... </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> For the CSS, a flex box will work ul { display: flex; whitespace: nowrap; margin: 0; padding: 0; } li { display: inline-block; flex: 0 0 auto; text-align: center; margin: 0; padding: 0; } li span { display: inline-block; border: 1px solid #AAA; margin: 4px; } This is very basic styling, but there is barely a limit to what you can do with CSS.
  22. I like to use the table function for stuff like simple family trees. Like the ancestor with the only table cell in the top line, his children side by side in the row below, and their children in the next row. Adjusting with colspan so every one comes in properly under the right parent and so on. The simplest way is just having BORDER=1 for the table, more advanced versions have been without table or cell borders, and I insert dividing lines in their own cells in between, and.... ah well, I won't bother you with more. First time I played around with this it worked exactly as I wanted, when the table became a lot wider than the screen I naturally just had to scroll sideways, the table took up the width needed, and wasn't stuck with the width of the screen. However, when I kept on building generation by generation it suddenly stopped when the only cell in the top row with the original ancestor couldn't have a larger COLSPAN than 1000. After 1000 it just stopped. Any number over 1000, it still just becomes 1000 cells wide. The table can have as many cells as I want, but one cell can not adjust to more than 1000 cells in another row. Would anyone know anything about coming around that? It's not surprising if noone has ever imagined anyone would need COLSPAN over one thousand... but pretty annoying now that I actually would. The newer problem is that tables I start making today always get stuck at the width of the screen. No difference in my simple code between them and the old file which hit the COLSPAN=1000 "ceiling" I have discovered the "style width" parameter, so with my present project I have to increase with 100 more percent every once in a while. But if I carry on with this I will eventually reach COLSPAN>1000 here, too. What's with this? Does anyone know any solutions? Or at least explanations?
  23. What is wrong? You expected center center not to work in media query? You'd be wrong, it would carry on from position styling from default non media query styling, as does background size, attachment and repeat. If you want to reset to default value use background-position: initial; in media query.
  24. Neither of those match. You're telling it to look for "inst" between word boundaries, followed by a comma. That would match "inst:,", but not what you have.
  25. Thank you, JustSomeGuy. Sorry for the late reply. I'll check out React and get back to you with any questions I have.
  26. Hi everyone! I have a problem with background-position: center center; on @media only screen and (max-width: 600px)... if background-position: center center; is activated, @media not work for my... Look at: This work perfectly: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body { background-image: url(fondo.jpg); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; } @media only screen and (max-width: 750px) { body { background-image: url(750.jpg); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; } } </style> </head> <body> </body> </html> But if write background-position: center center; @media not work: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body { background-image: url(fondo.jpg); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-position: center center; } @media only screen and (max-width: 750px) { body { background-image: url(750.jpg); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; } } </style> </head> <body> </body> </html> Why??? Help me please! Thx!
  27. Hi, I am trying to searching order of string match in PHP. I tried "preg_match_all" and it's works some case and not someother case. <?php $sd = "2:Inst:(Inp:low:():high:(UnDri)),.(Inp:low:(concat():high:(UnDriven)),.(Inp:low:((((1))((1)))):high:((Constant))),."; // this should not match.. $sd = "2:Inst:(Inp:low:():high:(UnDri)),.(Inp:low:(():high:(UnDriven)),.(Inp:low:((concat((1))((1)))):high:((Constant))),."; // This should match $tu = "(\binst\b)(,)(\blow\b)(.*)(\bconcat\b)(.*)(\bhigh\b)(.*)(\b(Constant)\b)"; if (preg_match_all("/$tu/i",$sd,$out,PREG_SET_ORDER)) { echo "GUI : $sd\n"; } else { } ?> Thanks, Maheshwaran B
  1. Load more activity
×
×
  • Create New...