DonationCoder.com Software > Post New Requests Here
Need buttons to download a file and disable used button, how to do so in HTML?
OptimalDesigns:
It is up and working! Thanks for all your help, Phil
Check your donation account for 180 'credits'
ProCompSys:
[...]
I have several <tables> on one webpage, so your general <scripts> and <styles> don't work as stated.
-OptimalDesigns (July 11, 2023, 12:31 PM)
--- End quote ---
When using different tables, you can restrict your button design to only this table by giving your table an id like
--- ---<table id="table01" ... >and then assigning your css to only that table by
--- ---<STYLE TYPE="text/css">
#table01 button.btn1 {border: 1px solid red;}
</STYLE>
In this example, red borders are only applied to button-tags, that have the class "btn1",
and only if that button in within an element, that hat the ID "table01".
So buttons within other tables are not affected by that css-definition.
My buttons colors are set as:
<style>
.btn1 {background-color: #4CAF50;} /* Green */
.btn2 {background-color: #008CBA;} /* Blue */
</style>
Which may explain why no lightgray came thru, true?
-OptimalDesigns (July 11, 2023, 12:31 PM)
--- End quote ---
True.
Try removing the background-style and the browser's standard display for buttons should be applied.
ProCompSys:
It is up and working! Thanks for all your help, Phil
Check your donation account for 180 'credits'
-OptimalDesigns (July 12, 2023, 11:42 AM)
--- End quote ---
Pleased I could help.
Thanks a lot!
publicdomain:
It is up and working! Thanks for all your help, Phil
Check your donation account for 180 'credits'
-OptimalDesigns (July 12, 2023, 11:42 AM)
--- End quote ---
Wow, thanks for supporting DonationCoders' work :Thmbsup:
You deserve a special badge for most-generous reward @OptimalDesigns :-*
Kudos indeed!
ProCompSys:
I'm new to DC and besides an up to now unanswered "IDEA" I think this was my first reply to a question.
At this moment I was actually still in a phase of trying to figure out what that "180 credits" means in RL.
Working in a full-time position, I just didn't have the time yet to figure it out... except for that help-page "What are DonationCredits?".
Just from skimming over the text, I got the impression that this would represent real money.
Though I'm still not quite sure about it and still expect a catch to it, I do come to the conclusion that the amount is exceptional.
Being used to some standard discussion-boards, I kinda feel a little uncomfortable with the turnout and suspect there might as well be a typo on the part of @OptimalDesigns.
If so, please let me know!
Best Regards!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version