Questions tagged as 'html'

6
answers

Success message after completing PHP form

I'm trying to create a simple form to record a visit in one place. However, I'm not able to put a "Successfully submitted data" message on the same page as this form. The validation of this form, before sending to the Database, I did in PHP, acc...
asked by 04.10.2017 / 17:01
1
answer

Riding an arena on canvas

I'm building an arena using resources of HTML/JS with canvas . I have the following code: function montarArena() { var canvas; var heightCanvas = 498; var widthCanvas = 598; var qtdLinhas = $('#larguraCa...
asked by 28.07.2016 / 07:28
1
answer

About size verification

I have already found several explanations about, but not conclusive. Is it possible to determine the size (in bytes) of an image after it is loaded and using Javascript? Apparently browser security would prevent us from pulling this information...
asked by 16.07.2014 / 15:57
1
answer

How do I delete the "shadow" from the focus of a button / button?

After clicking on the button it has a shadow effect (blue) around it ... I leave an image for you to understand my doubt. How to remove this outside line?     
asked by 10.07.2014 / 04:20
2
answers

Modal within modal [duplicate]

I have a modal that opens on another modal, as I would not allow that modal that is open on the other modal does not close when I click outside it. Note: I'm using bootstrap, I already tried using "data-backdrop=" static "" and it did not work...
asked by 07.08.2014 / 15:33
1
answer

Validate captcha with PHP

I have a captcha in a form where an image with 5 randomly generated values is displayed. How do I validate the captcha and only send the contact if the value entered in the input is equal to the one generated by the image? Excerpt from the fo...
asked by 21.09.2015 / 20:42
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
1
answer

Inclined carousel (diagonal) in jQuery and CSS

I need to make a carousel tilted (diagonally according to the image) but with transition between the movements. I've prototyped something in this JSFiddle , but the movement is only working on the "back" button, yet with an abrupt transi...
asked by 21.10.2014 / 12:58
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
2
answers

Transition effect in jQuery

I'm starting in jQuery and I have a question: is there any way to let the change go down with a kind of transition? <html> <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script><met...
asked by 20.03.2014 / 23:25