Posts by João Monteiro • 147 points
9 posts
-
3
votes2
answers400
viewsA: Files . css should be in the /public or /Resources folder?
The public directory contains the index.phparquivo, which is the entry point for all requests entering your application and configures automatic loading. This directory also hosts your assets, as…
-
0
votes3
answers75
viewsA: How to leave a text (on the left) on the photo side (right side) in the same div? I am new and I am very lost
.projeto2 { display: flex; justify-content:space-between; width: 100%; margin: 0px; text-align:justify; background: #d28000; padding:…
-
0
votes1
answer59
viewsA: Responsive image with background cover
#imagem { background: url(https://i.imgur.com/Y7V4zrd.png) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; …
cssanswered João Monteiro 147 -
2
votes1
answer70
viewsA: I can’t center text with "vertical-align"
Opa Jean, take a look and see if this meets what you expect: #myDiv { border: 2px solid #0f0; height: 100px; display: flex; flex-direction: column; justify-content: center; text-align: center;…
-
0
votes1
answer105
viewsA: Class 'Spipu Html2pdf Html2pdf' not found
Try following this template, add autoload require to your code. require __DIR__.'/vendor/autoload.php'; use Spipu\Html2Pdf\Html2Pdf; $html2pdf = new Html2Pdf(); $html2pdf->writeHTML('Olá, isso é…
-
0
votes1
answer876
viewsA: Laravel Error 4.2 - SQLSTATE[HY000] [2054] Server charset Unknown to the client. Please, report to the Developers
The new Mysql version has changed a standard character set to utf8mb4. Some clients do not recognize this character set. Therefore, when the server reports its default character set to the client…
-
1
votes1
answer195
viewsA: Convert JSON to CSV
Speak David, all right? Dude, try to follow up with your json: var csv = json.map(function(row){ return fields.map(function(fieldName){ return JSON.stringify(row[fieldName], replacer) }).join(',')…
-
1
votes2
answers687
viewsA: How to pick up text from a multi-line textfield in a list with one item per line
In this case the split is given in the spaces between each word. In your case it may be different. You can clarify your doubt better in: https://api.flutter.dev/flutter/dart-core/String/split.html…
flutteranswered João Monteiro 147 -
0
votes1
answer33
viewsA: Popup opening on every page after Load is finished, even after it is closed
$(document).ready(function() { var isshow = localStorage.getItem('isshow'); if (isshow== null) { localStorage.setItem('isshow', 1); // Show popup here …