Jump to content

dsonesuk

Members
  • Content Count

    11,024
  • Joined

  • Last visited

  • Days Won

    100

Everything posted by dsonesuk

  1. Usually means its the submission of form reloading the page when it shouldn't.
  2. https://www.w3schools.com/tags/tag_doctype.asp
  3. dsonesuk

    CODE GAME

    More over, what is the answer to the ultimate question of life the universe and everything and don't give me some obscure answer like 42.
  4. DNA test http://blackenedroots.com/blog/wp-content/uploads/2012/08/EvanDNA.jpg
  5. Sorry! this DNA result, proves the child is Not yours!😁
  6. Apart from where it will only show the last option everytime. (.= required to append each option) $statelist .= "<option value='".$states."'>".$states."</option>";
  7. There's limited amount of styling you can do with normal select dropdown, thats why its usually converted to unordered list where you can style however you want and the value is added to hidden selected dropdown element OR input type hidden element by javascript.
  8. I think the poster is looking to attach a onclick event to each button with specific value to run a function to retrieve that value and update/add text input value to that clicked button value.
  9. .flip-card-back { background-color: #2980b9; color: white; transform: rotateY(180deg); display: flex; justify-content: center; flex-flow: column; }
  10. I wouldn't use 'striped table' mainly because there's no such property , 'striped table' is the end result when you use nth-child(odd) and nth-child(even); for the rows of a table. https://www.w3schools.com/css/tryit.asp?filename=trycss_table_striped
  11. You should really take this to a Wordpress forum or specific Wordpress plugin forum, this forum is web development in general. That said I would have thought it would be to a integer number 25, otherthan a alphanumeric such as 'id25'.
  12. IF you can loop through the div elements, with class 'foobar', then you can remove the style attribute with .removeAttribute('style') IN javascript OR possibly php curl or similar to retrieve content, filter the content of inline styling and use that filtered content instead. If you can't do this! Then you can't do anything to change the inline styling using '!important'.
  13. Its padding-bottom: 10px !important; NOT! padding:bottom: You have to clear it manually or with javascript.
  14. That IS NOT! HTML5. Its simplified to just <!DOCTYPE html> but! It has differently defined charset meta tags.
  15. Its your username, you can't edit your username. You might be able to get a moderator to edit it.
  16. Alt shows the ALTernative text if image failt to load. The width and height as they suggest allows you add these dimensions in 'px', most of the time this is controlled by css, but these can help set the size beforehand and prevent layout jumping as images fill there occupying locations.
  17. You really should use svg, its not a difficult shape and will be more responsive to width adjustment. https://www.w3schools.com/code/tryit.asp?filename=GO3DGPVVLMNX These are two css methods, there a pain to adjust to get perfect, although i was doing this on mobile.
  18. Any default value in a form input can be retrieved using JavaScript .defaultValue..
  19. But! Wait! If we put STR(39.78,15,2); We also get 39.78 thats amazing, so basically if i change value to what I want! Win, Win! and i thought this was going to be difficult.
  20. You can create them for desktop, tablets, but its unlikely to be used by mobile phones, especially iphone.
×
×
  • Create New...