Jump to content

dsonesuk

Members
  • Posts

    11,220
  • Joined

  • Last visited

  • Days Won

    117

Everything posted by dsonesuk

  1. 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.
  2. 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.
  3. .flip-card-back { background-color: #2980b9; color: white; transform: rotateY(180deg); display: flex; justify-content: center; flex-flow: column; }
  4. 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
  5. 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'.
  6. 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'.
  7. Its padding-bottom: 10px !important; NOT! padding:bottom: You have to clear it manually or with javascript.
  8. That IS NOT! HTML5. Its simplified to just <!DOCTYPE html> but! It has differently defined charset meta tags.
  9. Its your username, you can't edit your username. You might be able to get a moderator to edit it.
  10. 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.
  11. 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.
  12. Any default value in a form input can be retrieved using JavaScript .defaultValue..
  13. 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.
  14. You can create them for desktop, tablets, but its unlikely to be used by mobile phones, especially iphone.
  15. Cookie and local storage is the way to go! Difficulty is the same, everytime a button is clicked you store the current state the element becomes. When you leave and return to a page, you wait till page is fully loaded, check if storage is not empty and retrieve current status value and then target the element to match the stored value.
  16. It is their own scrollbar design, for their device, usually a thin line, so no.
  17. Nay! he's being painting during lockdown, and didn't open any windows, it happens.
  18. box-shadow: -90px 0 20px -20px inset #d51414 ;
  19. You are not! pasting the style tags in to css file as well, are you? The css file does not require them. Its been done before so I thought I'd ask.
  20. https://www.w3schools.com/code/tryit.asp?filename=GNVVBS9H7SVT
×
×
  • Create New...