Posts by Gilmar Santos • 1,371 points
46 posts
-
0
votes0
answers24
viewsQ: My custom player video controls does not appear in Firefox Fullscreen
In Chrome and Opera it does not give problem, only in firefox. When I click pro video get on fullscreen the controls bar disappears and loses the width. Code:…
-
2
votes1
answer4711
viewsQ: How to use cookies in javascript
I know how to create cookies in Javascript, but I don’t know how to apply them in some project. Someone could post an example of how to use cookies?
-
3
votes1
answer283
viewsQ: When and why to use a parameterized constructor?
I am very confused. I wonder if it is better to use the default and setters to assign a value to the attribute, or if it is better to assign the values to the attributes via the parameterized…
-
2
votes2
answers155
viewsA: How to account for % div’s width of a responsive website
Fluid layout: is the technique of encoding a layout so that its components shrink as the viewport (browser window) decreases. The main basis of the fluid layout is to use measures relating, that…
cssanswered Gilmar Santos 1,371 -
2
votes0
answers33
viewsQ: When using the <figure> tag
I only know that it serves to give more semantics to visual elements. My doubts are: When should we use? What are the best practices? Are there alternatives to it? When should I use them?…
htmlasked Gilmar Santos 1,371 -
3
votes1
answer732
viewsQ: How does the web page rendering process work by the browser?
I know there is a DOM tree, but I don’t know how the rendering works. I know that learning this is important.
-
3
votes2
answers2044
viewsA: How to keep Ivs aligned on top of each other?
As the friend said above the elements are rendered in the writing order of the HTML code. I used Flexbox to solve your "problem". Flexbox is a way to create layouts that don’t need to depend on HTML…
-
2
votes3
answers351
viewsA: Put sub-menu under the right li
The sub-menu did not align to the store menu because one was missing position: relative in class .mnPesquisa and a left: 0(to align to store menu) in class .sub-menu. When you gave position Absolute…
-
3
votes1
answer71
viewsA: Problem in CSS
Space-separated selector is called descending selector, means that he will take for example all the ul who is the son of li who is a great-grandson of .menu-departamentos. Comma separated selector…
-
2
votes2
answers52643
viewsA: How to make a background image fill the entire screen without losing image resolution
Do you really want the image to occupy the entire viewport? If so, it has a relative measurement unit, which is widely used in responsive design. The vh and vw. Many web responsive design techniques…
-
0
votes2
answers1024
viewsA: How to create a "template" for pages?
I don’t know anything about PHP, but I’ve read a little bit about reusing parts of the sites on other pages. A site is divided into Top, Top and Bottom. The most repeating parts across the page are…
-
5
votes3
answers8546
viewsA: how to convert pixel to percentage? css
Pixel transformation into percentage is very simple. Just use the formula object : context = result x 100. Practical example: Didn’t make any sense? Yeah, for me it didn’t make the first time I read…
-
-1
votes3
answers128
viewsA: I need to create a button with this code and I’m not getting it!
That would be ideal for you? .manual-optin-trigger { background:green; padding:10px; border-radius:10px; text-decoration:none; color:#FFF; } <a href="#" class="manual-optin-trigger"…
-
3
votes3
answers29131
viewsA: How to make an HTML field mandatory?
Only you add the attribute required that your input will be mandatory. <input type="text" placeholder="Buscar..." required>
htmlanswered Gilmar Santos 1,371 -
1
votes2
answers194
viewsA: Centralize navbar items when viewed on desktop
That would be just right for you? ul.bar-secondary { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #b5121b; text-align:center; } ul.bar-secondary li…
-
2
votes2
answers196
viewsA: Login Form
Does it look like that? If yes, you are opening it the wrong way, to open it is necessary to have installed apache on your system, or open it with some program that simulates a web server (WAMP,…
-
4
votes5
answers14273
viewsQ: How to put a colored layer over an image?
div { background: #000; width: 640px; height: 640px; opacity: 0.2; position: absolute; z-index: 99; } <span> <div></div> <img…
-
1
votes1
answer166
viewsQ: CSS architecture, could someone explain it to me?
I’m learning CSS, I’ve read a few articles about good ways to write your code, and that it would help in teamwork. So I read acronyms, like - Well, OCSS, SMACSS. So I was very curious, only that…
-
4
votes1
answer280
viewsQ: How does the Position property work?
I’ve read about the property position, but still can’t understand its purpose. Values absolute and relative didn’t get into my head. I also wondered when I should use this property.…
-
10
votes2
answers1616
viewsQ: What is the use of the pseudo class :root?
I’m learning about pseudo structural classes, but I haven’t found an article about this pseudo class yet, and I only find it in English.
-
2
votes1
answer653
viewsQ: What are the advantages and disadvantages of using css preprocessors?
I’ve always heard developers talk about pre-processors, but I haven’t found articles on disadvantages and advantages yet. I also wondered if it’s better to use pure or pre-processed css.…
-
1
votes2
answers1593
viewsQ: How to use the Oninput attribute?
I’m remembering some things in HTML and I came across the attribute Oninput. I know this attribute is used to make calculations, but I don’t know how to use.
-
-4
votes2
answers2300
viewsQ: How to make HTML/CSS code clean and optimized?
Wanted tips to apply in my learning. I am a beginner and always hear talk of clean code.
-
14
votes3
answers1609
viewsQ: What is the function of the vector (array)?
I’m studying algorithms with Portugol and I’m having difficulty understanding the function of the vector in the code. I already know how to use this structure.
-
10
votes1
answer7950
viewsQ: What is the difference between functions and procedures?
I’m studying algorithms and I’m having a hard time understanding the difference between them and when to use these sub-algorithms in a program. I’m learning to code with algorithm in Portugol.…
-
2
votes1
answer6018
viewsQ: What are the differences between the repeating structures while, repeat and for?
Friends, I am learning programming logic and this doubt came when I should use these commands and their differences.
-
3
votes3
answers3002
viewsQ: How do I try to make a site compatible with major browsers?
I don’t have much experience yet and wanted to know tips on what to do to increase the chances of a site being compatible with most browsers.
-
5
votes2
answers1465
viewsQ: How to make source responsive?
How to make text size responsive and fit different screen sizes? I tried using units em but it didn’t help. I’ve tried using Media Querys: EX: @media(max-width:768px){font-size:1.5em} I’ve tried…
-
2
votes1
answer823
viewsQ: My site gets messy in Microsoft Edge, Firefox, and Safari. How to Resolve this Issue?
My site picks up Chrome and Opera, but when I test these other browsers it gets messy, plus, in Edge. Edge- Safari- Firefox is the one with the least errors- My Code:…
-
-4
votes1
answer588
viewsQ: Wordpress or Site made without CMS?
Wanted to be is better to make a site for Wordpress or do it without CMS, because I am creating a news site about technology and etc. Whether it is easier to use Wordpress or the common site without…
-
3
votes1
answer199
viewsQ: How to put 3 slides together in Bxslider?
I couldn’t do it myself, I wanted your help. I would be very grateful if anyone could solve this problem for me. This is my slide picture. This is my HTML code. <div class="main"> <div…
-
0
votes1
answer1565
viewsQ: How to give opacity Hover effect in img’s?
I’d like to know how you put the Hover effect on the images of this site http://digitaltheme.co/html/admag/demo/index.php.…
cssasked Gilmar Santos 1,371 -
0
votes1
answer519
viewsQ: How to calculate percentage in top css property?
I wanted to know how to calculate percentage in the top property. I searched in Google, but I did not find to my doubt.
cssasked Gilmar Santos 1,371 -
0
votes2
answers1558
viewsQ: How to fix search box on menu?
I wanted to know how fixed search box in the menu !! The menu designation with the box : My code: .nav{ width:100%; height:42px; background-color:#4682B4; font-family:arial; font-size:1.000em;…
-
0
votes2
answers596
viewsQ: How to take horizontal rolling bar from my website?
/*-------Conf.CSS--------*/ body{ background-color:#FFF; } header{ background-color:#222; width:100%; height:78px; float:left; } .logo{ width:10.9375%; height:66px; float:left; margin-left:162px;…
-
1
votes1
answer2414
viewsQ: How to make a search box with Hover effect?
When you click the search icon the search box opens. .busca-organica{ width:120px; height:27px; background-color:#FFF; display:none; } .btn-pesq{ display:block; } <div class="btn-pesq"><img…
-
0
votes1
answer100
viewsQ: It has to pass my dropdow menu to one of 3 Lines , but only when the mobile resolutions arrive
I can’t do that, because I’m still a layman in responsive design. I would be grateful for anyone who helps me. Here is the designation of my menu!! .nav{ width:100%; height:42px;…
-
1
votes0
answers236
viewsQ: How to put Swipe touch event on Slick Carousel?
I wanted to know how to add events touch swipe on my slideshow Slick Carousel. $(document).ready(function(){ $('.slideshow').slick({ autoplay: true, autoplaySpeed:4000, speed:800, }); });…
-
2
votes2
answers413
viewsQ: My jquery Cycle 2 slide code does not work. Wondering where the bug is?
I’ve been trying to get this slide to work for a long time, but it doesn’t work at all, I wanted help from you. My Html code: .slideshow{ width:100%; max-width:980px; overflow:hidden; height:505px;…
-
1
votes1
answer62
viewsQ: Can you add touch Events in jquery Cycle?
I wanted to know if you have how to add touch events in jquery Cycle. Because I want to put touch events in my slideshow. Code: <script src="js/jquery-1.11.1.js"></script> <script…
jqueryasked Gilmar Santos 1,371 -
-2
votes3
answers415
viewsQ: I want to test my test site on my tablet and wanted to know how
I wanted to test directly on a mobile device, to clear my doubts !
htmlasked Gilmar Santos 1,371 -
1
votes1
answer281
viewsQ: Is it necessary to use ul and li tags in flexslider?
I’m wondering if you have how to exchange ul and li by div ? Pq I find it more complicated to mess with ul and li than with Divs !!
-
0
votes4
answers63
viewsQ: How to make a slideshow accessible to ringtones on smartphones?
I wonder if there is a way to leave a slideshow in touch when someone accesses by smartphone ! And also if you have how to do it with javascript.
-
1
votes1
answer569
viewsQ: Why is "overflow:Hidden" not working on my slide?
<div class="slideshow"> <div class="slide"> <div class="slide-1"> <a href="#"><img src="img/01.jpg"></a> <div class="info-slide-left"> <a…
cssasked Gilmar Santos 1,371 -
0
votes1
answer177
viewsQ: Problems centering slideshow
I want to center my slideshow, only when I put the style margin: 0 auto does not centralize and this happens: CSS code: .slideshow { width:100%; max-width:980px; height:auto; margin:0 auto; } .slide…
cssasked Gilmar Santos 1,371 -
1
votes1
answer125
viewsQ: Problem with slideshow css
I want to leave the slide with the format of the image below. I add the display:block in my slideshow images, but it doesn’t work! HTML: <div class="slideshow"> <div class="slide">…