Posts by Leonardo Leal • 166 points
7 posts
-
2
votes1
answer209
viewsA: Positioning of Divs
In your case, with the use of the CSS property vertical-align setting the value top can solve it. But you might have to rethink the way you’re doing mobile compatibility.…
-
0
votes2
answers150
viewsA: Use one if with two selects
As you want to return a field from a related table you can use JOIN to do this. In this case you need to return table content ce_users, regardless of whether there is a related record in the table…
-
2
votes1
answer179
viewsA: Could not open '/sys/class/power_supply/genymotion_fake_path/present'
I’m sure you’ve already solved your problem, but since I’ve also been through it, I’ve decided to post how I solved it. My problem was solved by declaring Activity on Androidmainfest. Simple as…
-
1
votes2
answers182
viewsA: Object Life Time in PHP - How many Controller instances?
It all depends on how you are programming, because nothing prevents you from being in one controller and sending a message to another, although this is not good practice. Framewoks working with MVC…
-
3
votes1
answer85
viewsA: Multiple Function in one file
It is interesting to have several functions in a file as long as they deal with the same "subject". For example, you have functions to handle date (reverse, brParaSql, Sqlparabr, etc.), then you can…
-
2
votes1
answer25
viewsA: Symbols of the ternary operation appear on the screen
I think the code is in the wrong place. Try this way: #{naturemb.nature.id == null ? msg['cadastrando.nature'] : msg['atualizando.nature']}
-
2
votes1
answer180
viewsA: How to define formatting for a multi-column table using classes?
It’s not wrong, but there are other ways to do this. For example using nth-child of the CSS. table { border-spacing: 0.5rem; } td { padding: 0.5rem; } td:nth-child(1) { background: hsl(150, 50%,…
htmlanswered Leonardo Leal 166