Quantcast
Channel: Active questions tagged html - Stack Overflow
Browsing all 72358 articles
Browse latest View live
↧

Set a background image for a button in html and then change the images from...

I am trying to set a background image for a button through html by using the following line:<button> id="Flower" type="button" src="Images/Roses"></button> Then I would like to be able...

View Article


How to set input types values after page load (hardcoded javascript)?

I want to fill input types after page loaded. They are hardcoded in script.<script id="__starter" src="https://20b7721d7fa879612f3.ssl.cf1.rackcdn.com/js/__starter-e8b728f0a5.js"/> I prefer to...

View Article


How to fix missing alt tag for avatars in blogger

I have the problem that all SEO-tools are showing a missing alt-tag for the avatar images in blogger. How can I fix this? The following codes I have found:if (entry.author &&...

View Article

Why typeof not working inside if statement

I'm working on input validation, I dont want to use RegExp but I keep wondering why typeof is not working inside if statement or is anything wrong with my codefunction myDom(){ var message =...

View Article

Clicking in an element in an iframe - Selenium Python

I have an iframe embedded into my webpage, and I'm using Selenium to automate tests:<iframe class="wysihtml5-sandbox" security="restricted" allowtransparency="true" frameborder="0" width="0"...

View Article


Issues with temperature converter javascript [duplicate]

I'm a beginner of programming and trying to make a temperature converter of C2F and F2C with Javascript but it doesn't work. My goal is that when user enter a number, cliking on C2F button will get the...

View Article

How to blur a div when a class is added inside another div?

I have a mega menu element with class .dropdownOpen activated when it is hovered. Meanwhile I have to change CSS on a completely separate div outside the header divI have to add this CSS when...

View Article

Why doesn't the scroll bar appear even if it protrudes to the left?

I created this code. This overflows to the right, which causes a scrollbar to appear:.content { position: absolute; height: 100px; width: 100px; right: -50px; top: 50px; }<div class="content">...

View Article


Image may be NSFW.
Clik here to view.

Bootstrap 4.3.1 text and link positioning

My text doesn't fit the whole div and the link puts itself in the right instead of middle on the bottom like in the last example. How to fix it?Section that doesn't work:<section class="row">...

View Article


How to replace radio buttons with images? [duplicate]

I would like to, instead of the standard radio button, use distinct images for each radio button. For the selected state I would like for a border to appear around the image. I have tried making the...

View Article

Impossible? - Don't Display Read the Docs TOC on Narrow Windows

With a narrow window the full Read the Docs window displays content but when the window is widened a Table of Contents appears as a sidebar and the content is less than half the window width. How can...

View Article

Get selected value from the drop down list with Angular

<tr (click)="onRowClick(myDropDownList.value)"> <td> <select #myDropDownList (click)="$event.stopPropagation()" (change)="onChange($event.target.value)"> <option *ngFor="let n of...

View Article

Make WebBrowser click a button on a webpage with a specific class ONCE in VB.net

I'm trying to make the webbrowser click on a specific button within a webpage:The html code for the button is something like <a class="btn btn-large play"> and the code I have so far to click...

View Article


how can I make a field's value one hundredth of what is actually entered?

Currently, when you click the submit button, it'll multiply the number in the first field by the number in the second field.What I want is to get the number in the second field to calculate as 1/100th...

View Article

Extract text between two P's

I am trying to extract the data between two elements "Executives" and "Analysts", example, but i don't know how to proceed. My html is:<div class="content_part hid" id="article_participants">...

View Article


Contact Form after submit PHP file not working [duplicate]

i'm trying to code my portfolio website @imeunice.com with a contact me form at the end. Sorry the website is not completed!The problem is when I fill in the contact form and press submit, it says that...

View Article

How can I grab a DIV with no class name or ID or any attributes using Nokogiri?

I am using Nokogiri (with Rails) to try and parse this site and Nokogiri is not cooperating. I made it all the way down the HTML chain using css selectors and everything was working, and then I...

View Article


How to use Nokogiri::HTML.fragment without creating unwanted custom tags

I have Ruby code that supports HTML fragmentation with Nokogiri. When user input text with "<" to the application, Nokogiri::HTML.fragment make it to the custom HTML tag.If a user enters text...

View Article

Can't seem to change image position with key event

I'm slowly learning some basic HTML 5 and Javascript. I wrote a Javascript file that's suppose to have an image displayed and then have the image's position changed by pressing right. The image loads,...

View Article

place the icon to the leftmost of the toolbar

I am new to ionic. i want to place icon to the left most of the toolbar.I have used slot="start" , class="float-right" and ion-float-right inside the tag but nothing works..logo{ width:100%; height:...

View Article
Browsing all 72358 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>