Posts by jonniehenrique • 97 points
12 posts
-
0
votes1
answer127
viewsA: Dropdown menu in CSS
Put it on the main line: li_principal:hover ~ ul { display: block }
-
0
votes1
answer913
viewsA: how do I make the slider responsive?
Creates a div between the slider images occupying any screen with width: 100%, and then it’s only by for each slider to occupy 33% of the parent width. In mobile, the image is recommended to take up…
-
1
votes1
answer54
viewsA: Videos with quality and the smallest size possible
MP4 is enough for Firefox and Chrome. Only on mobile it won’t stick, it has to be Webm.
-
1
votes1
answer53
viewsA: How to keep menu at the top (css)
.top { position: fixed; } That’s all ;)
-
0
votes4
answers3072
viewsA: How to leave a height-height fixed on the page?
From what I understand, the container-Fluid should occupy every screen at the height of the device. Therefore: .container-fluid { height: 100vh; } It resizes the container as far as space is. I…
-
2
votes2
answers1015
viewsA: Horizontal scroll bar does not appear when using datatable
There must be some overflow: hidden; in the CSS of the datatable parent container or even in the body, so in lower resolution, the screen decreases and the content disappears. Just take it out or…
-
0
votes2
answers1254
viewsA: Side menu with fixed width and content 100%
No. content you can add the following: .content { width: calc(100% - 300px); position: relative; margin-left: 300px; } Do not put . content as position: Absolute, because if there is content, it…
-
3
votes1
answer1506
viewsA: Not found class in Controller
Solved the problem! composer update The problem simply in the autoload of the Models directories that was pointing to another part of the project, making it not recognized any model created within…
-
-1
votes2
answers809
viewsA: How to change background when changing screen orientation on Android
Just make a media thing for him. Type: // Horizontal orientation @media all and (orientation: portrait) { background-image: URL(image-horizontal.PNG) } // Upright @media all and (orientation:…
-
2
votes2
answers408
viewsA: Responsive content with fixed size sidebar
article { with: Calc(100% - 300px); position: relative; } aside { width: 300px; height: 100% position: Fixed; top: 0; bottom: 0; left: 0; } If you want to put the aside on the right hand hand hand…
-
0
votes3
answers1629
viewsA: Create a div that occupies 100% of the screen width?
Are you using some reset? * { margin: 0; padding: 0; } It may be the lack of some reset, because browsers have a default margin of 8px. Or try to block: .topbar { display: block; width: 100%;…
-
0
votes1
answer1506
viewsQ: Not found class in Controller
The model only gives NOT FOUND in a controller that manages News. ERROR: Fatal error: Class 'App Models Site Noticiamodel' not found in C: xampp htdocs Managercontent App Controllers Site…