-
Posts
11,220 -
Joined
-
Last visited
-
Days Won
117
Content Type
Profiles
Forums
Events
Everything posted by dsonesuk
-
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.
-
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.
-
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
-
Shortcode wordpress only shows content for specific user IDs
dsonesuk replied to oc1ober's topic in Web Servers
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'.- 1 reply
-
- 1
-
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'.
-
Its padding-bottom: 10px !important; NOT! padding:bottom: You have to clear it manually or with javascript.
-
That IS NOT! HTML5. Its simplified to just <!DOCTYPE html> but! It has differently defined charset meta tags.
-
Its your username, you can't edit your username. You might be able to get a moderator to edit it.
-
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.
-
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.
-
How to seperate 2 pictures in same row in Notepad++ (HTML)
dsonesuk replied to Cougary's topic in HTML/XHTML
margins, white border. -
Any default value in a form input can be retrieved using JavaScript .defaultValue..
-
Try STR(ROUND(39.775,2),15,2)
-
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.
-
How to put the scroll bar in the menu and the up and down buttons?
dsonesuk replied to Il Domandatore's topic in CSS
You can create them for desktop, tablets, but its unlikely to be used by mobile phones, especially iphone. -
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.
- 1 reply
-
- javascript
- collapsible
-
(and 1 more)
Tagged with:
-
How to put the scroll bar in the menu and the up and down buttons?
dsonesuk replied to Il Domandatore's topic in CSS
It is their own scrollbar design, for their device, usually a thin line, so no. -
how do i hide a price until a customer logins in?
dsonesuk replied to whaphansen's topic in HTML/XHTML
Nay! he's being painting during lockdown, and didn't open any windows, it happens. -
box-shadow: -90px 0 20px -20px inset #d51414 ;
-
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.
-
How to delete all <P> elements containing whitespaces only?
dsonesuk replied to pstein's topic in JavaScript
https://www.w3schools.com/code/tryit.asp?filename=GNVVBS9H7SVT