Questions tagged as 'html5'

1
answer

Write video file after capture on site

I have a page that captures a video + user's audio using HTML5 and JavaScript. The code follows: <video width="600" height="400"></video> <input type="button" id="stopbt" value="stop"/> <script type="text/javascript">...
asked by 20.11.2015 / 12:15
1
answer

Search field in select form

Good evening, I would like to know how do I in the list of a select enable the "search" within the field? <select class="input-xxlarge" onchange="clienteChange()" style="width: 409px !important;" id="cliente" name="clien...
asked by 09.06.2015 / 04:09
1
answer

Because when I write in div it changes position?

I write something in one of <div> and it changes position. Why? Here's what's happening: link HTML: <div class = "wrap1"> <div>algo</div> <div></div> <div></div> <...
asked by 30.06.2014 / 07:21
4
answers

___ ___ erkimt Align text after image ______ qstntxt ___

Hello, I have a problem that I do not know how to solve. This is my situation:

ButIwantittolookthisway:

And like I said, I have no idea how to solve it.

And this is my code:

%pre%

Thank you.

    
______ azszpr30062 ___

While you treat the text as a single character string, no space. Of course your code will not partition the content and will not consecutively fit the base of a %code% . I imagine, you will not have a single giant word like that.

Instead of dealing with style, I applied classes. Some sincerely even unnecessary, there is how to lapid this code a bit. The value of the body can be modified according to the proportions it will treat.

CSS

%pre%

HTML

%pre%

JSFiddle

    
______ azszpr30058 ___

I've pasted your HTML into jsfiddle and left working as you wanted it to, but I noticed that it's a little complicated beyond what it should be, it might be simpler, like this:

%pre%

JSFiddle

Or better yet, delete inline styles and just use classes, it's much easier to modify and adjust later.

    
______ azszpr30066 ___

Here it depends a lot on the effect you want. If you want the text to wrap the image, use float as in the solutions that have already been presented. Now you want to make two columns, that is, keep the space underneath the empty image, so you can do this:

%pre%

Note that the width value can be set to any value but the sum of all width and margin can not exceed 100%. The width has to be even defined because by default the value of the width of the image and of the p is of 100% it makes the text stay under the image.

    
______ azszpr170973 ___

%code% in the image. simple and easy:)

    
___

Hello, I have a problem that I do not know how to solve. This is my situation: ButIwantittolookthisway: And like I said, I have no idea how to solve it. And this is my code: <div style=" position: relative; height: 300px; f...
asked by 23.08.2014 / 03:00
2
answers

Is there any way to set image quality to increase the loading speed?

Is there any way I can leave a given image, through CSS, with a lower quality, to increase page load speed? Example: First load a certain image with the lowest quality, then increase its quality when the user moves the mouse?     
asked by 19.10.2015 / 15:37
2
answers

Select with transition on change with onchange

How to add a transition effect ( fade ) in a select with onchange , that when the <div> object is changed the same happens a transition happens? Below is a print of the table that was made: Andhere'sthescript:<m...
asked by 25.03.2014 / 22:16
1
answer

I can not insert data into sqlite using javascript

I'm creating a smartphone app using Cordova for a college project. the App consists of a simple register of patients. I'm having trouble writing data to the bank. Initially the recording was working, but I forgot to include an id field with a...
asked by 23.04.2014 / 17:53
2
answers

How to search for a device on an internal network using Javascript and / or Node js

I'm creating an application that uses Websocket to connect two devices to an internal network, but for this to be done, the user must enter the Node server address js into a text field so that it can be used to create a Websocket connection betw...
asked by 11.06.2014 / 05:39
2
answers

The UL LI losing formatting after I put it in line ... Why did my "balls" disappear?

I have an unordered list <ul><li> I want it to be horizontal, not vertical, but when I put it to stay in line with display: inline-block my indicative "poles" are gone! Notice that the only thing I changed was to kee...
asked by 07.11.2018 / 14:25
4
answers

Cross-browser way to copy text to Clipboard

I'm looking for ways to copy a text to clipboard via JavaScript, which works in most modern browsers, but there's too much information and it seems outdated. I know there is the Clipboard API and that it is partially supported by all (except...
asked by 25.05.2014 / 19:41