All Questions

1
answer

Center parent div when children have dynamic width

I have several div's with the following css: float:left; width: 25%; min-width: 300px; max-width: 400px; That is, as I insert a div, it fills in the available space from the left side of the parent div and when there is no space it breaks d...
asked on 21.05.2014 / 20:26
2
answers

Code indentation spacing standardization

I used Sublime Text for the front end, I had to open some old code and I had a problem with indentation. I saw that it was only to modify the tab size. I wonder if there is a Tab Size pattern for building a website's HTML. I currently use Tab...
asked on 29.07.2014 / 21:14
2
answers

How to pass a file from the JSP to the servlet?

I have a .jsp page where I have an input file. I need to open this file to use the information in it. Suppose it's a pdf. I get this pdf, sending it to the servlet for the purpose of using it in my JAVA application. The easiest way would be to t...
asked on 08.07.2014 / 17:01
1
answer

Can you make feature detection for CSS?

I know the feature detection ("discovery of functionality") technique - as well as feature inference - when it comes to JavaScript: if ( window.XMLHttpRequest ) { ... } But how can you do this for CSS too? For example from this other...
asked on 27.08.2014 / 16:13
2
answers

What is the best way to upload files with Ajax?

I could get a code on the internet paste here and try an answer but I'd rather have it help me with the logic and programming of a script to upload images in Ajax. I do not know how to start, I'm a beginner but I already know some things about j...
asked on 05.08.2014 / 15:23
3
answers

Use ajax with ActionLink

I want to change the ActionLink and URL to work with Ajax , but I do not know how to do that. Follow my code with ActionLink and URL . <ul class="nav" id="side-menu"> <li> <a href="...
asked on 12.06.2014 / 14:57
3
answers

Create custom page for user registration

I need to create a custom page for user registration in wordpress. In addition to the traditional form, is there a way to create a custom page by calling the form ?     
asked on 13.08.2014 / 04:49
2
answers

How to draw print from a web page using backend rails?

Would it be possible to do this? For example: I point a page to my application , and it holds a image of the indicated page. A print.     
asked on 25.07.2014 / 13:46
1
answer

How do I populate a JTable?

I have a fairly simple java application that connects to a database, in the console I type the query I want to pass by parameter to the executeQuery. Now I need to pass all this to a graphical interface. Is there any way I can create just one wi...
asked on 10.06.2014 / 06:03
1
answer

Make URL open in the same Activity

I'm creating a WebView for Android. When I load the App, the imported page works fine, but when I click on some link of the page, that same link opens in another browser.
asked on 18.08.2014 / 15:50