Most voted "css" questions
Cascading Style Sheets (or simply CSS) is a style language used to define the presentation of documents written in a markup language, such as HTML or XML. Its main benefit is to provide the separation between the format and content of a document.
Learn more…8,314 questions
Sort by count of
-
0
votes1
answer117
viewsNav problem in css
Well I created a Nav with class = topbar and tried calling in css but it’s not going: <nav class="topBar"> <ul> <a href="#"><li>Inicio</li></a> <a…
-
0
votes1
answer735
viewsHelp with menu spacing
Well I’m trying to make a menu where you have, start / over / store and then a space and the "search" and another space and a login/ registration, but I’m not getting. Could someone help me?…
-
0
votes1
answer934
viewsProblem leaving a div Responsive
Well I created a div with a background and a form inside it to leave centralized + 1 soon. html: <div class="fundobg"> <img src="images/logosecure.png"> <form method="POST"…
-
0
votes0
answers30
viewsHow to put a Count inside a box
i wanted to put a time counter ( ex: a promotion of 10% for a certain time) would be able to do this with mysql ? Could someone give me a hand on how to start doing that? ( how to put Count inside…
-
0
votes1
answer80
viewsDisplay multiple Custom post type on index
I have a Wordpress template with Multiple post type, and I can query and display all Custom post type on index. My Custom post type is an area reserved only for Movies, Series and Blog, only in my…
-
0
votes3
answers345
viewsProblem with jQuery addclass and Removeclass
I’m having trouble using the addClass and Remove Class in jQuery. I need the Section of class="" by clicking on it, it disappears and appears to class="video". I need the class "video" to occupy the…
-
0
votes2
answers47
viewsproblem when leaving items horizontally in a div
i wanted to let this img, the name, the input, the change button horizontal, but I’m not getting.. html code: <div id="wrappermenux"> <div id="menupromo"><h3 class="novidades">Meu…
-
0
votes1
answer2781
viewsAutomatic image transition in css slider
Good morning guys, I’m new to Imasters and the development part in general and I’m having a very simple question, don’t judge kkk I created this slider described below and I can’t do the automatic…
-
0
votes1
answer58
viewsHow to delete strange character appearing in page header
On my page I do a include for a header that sits at the top of the page, but strangely is getting one sujeira that gives a space right at the beginning, I do not know very well what is and nor what…
-
0
votes1
answer64
viewsMultilaser tablet does not load svg positioning correctly
I created a character using SVG, which appears unmounted on the tablet inside the webview, this happened in the standard browser also tablet: Multilaser Android 4.4.2 Model Number: ML02-M9-Quad-Core…
-
0
votes1
answer31
viewsHow to create a functional post history?
So I was trying to create a rudimentary system of "posts" with a history where they would all be stored, but I realized that there was a problem that I couldn’t solve, which was the fact that the…
-
0
votes0
answers27
viewsLine break is not occurring when exceeding container size
I have a Paginator inside a container-Fluid, it turns out as the Paginator has many pages, he is not performing the line break, happening this: I tried to apply on my div: word-wrap:…
-
0
votes1
answer242
viewsHow do I remove the space between one line and another of cards in Bootstrap4?
Good night. I’m using Bootstrap4 in my Django project, but as in the following print, there’s a gap between cards (marked with an x) because of their different size. I would like the images below to…
-
0
votes1
answer206
viewsFixing an HTML table without allowing resizing
I have a calendar of events where the user clicks on a date and opens a modal to register. But when a schedule is included, it stays that way: Note that on day 03, despite having limited the…
-
0
votes1
answer151
viewsHow to position buttons in the bottom corner
I’ve been having problems with Html5 and css on Ionic. one of these problems and positions the button below the slide and leaves them transparent, with a good significant size. But with the…
-
0
votes1
answer3539
viewsChange CSS property in Typescript (Angular)
I have a list that when I click on it, I need the display: listview be exchanged for display: none. My list is composed this way: <li class="sub"> <a class="dropdown-item waves-effect"…
-
0
votes1
answer61
viewsJquery script only works after page re-load
I have a jquery script that only works after page re-load. Why does this happen? My script: $(document.body).ready(function() { $('.list').each(function(index){ var topli =…
-
0
votes1
answer66
viewsScroll internal content div with Ionic edge
How to make the internal content of a div specific has scroll when the text is larger than the area? I was suggested to use the following code: html: <ion-content id="contrato"> <div…
-
0
votes0
answers282
viewsDefault option in select does not appear
I have a select I want to show a label as default option, but it is appearing blank. My select: <div class="select"> <select (change)="calculaMes(mesEscolhido)" [(ngModel)]="mesEscolhido"…
-
0
votes2
answers112
viewsAdjust Section [Position: Absolute]
People, I’m doing a website as a college project, but I’m picking up a little bit to solve a problem with the positions of the elements. I have 3 sections, one adjusted to be Header, one adjusted to…
-
0
votes1
answer67
viewsArranging tds within tr
Good morning! Guys, I still need to improve my Skills on HTMl and CSS. I’m making a meeting minutes and I’m having a hard time getting some TD's inside a table a TD is appearing on the side of TR…
-
0
votes0
answers21
viewsAngular animation only works in the "enter" transition
I’m trying to put a fadein/fadeout effect, but it’s only working the fadein, when it happens the element disappears instantly. I tried to: @Component({ selector: 'app-confprecificacao', templateUrl:…
-
0
votes1
answer43
viewsYou doubt the media!
Suppose you have a sheet of CSS reasonably large and once the stylization of the HTML, I’ll do the responsive part of the page. My problem is when I start using medias query, all the stylization and…
-
0
votes1
answer168
viewsForm in stages, how to ignore some input and proceed?!
I have the code ready, but it only allows me to advance the step if all the inputs are filled, it would be possible to ignore some inputs and move forward ? Follows the code var currentTab = 0; //…
-
0
votes1
answer136
viewsVertical slider with picture list in jQuery
I have the following list of images and videos that are being pulled from the database. I would like that "ul" to keep climbing the items infinitely in a vertical slider. Don’t know much jQuery,…
-
0
votes2
answers136
viewsPrevent DIV from changing a defined size
I’m trying to put together an HTML page to print a label with 80mm x 40mm. It’s working, but when the person’s name is too big the label loses alignment, consuming 2 labels. I need to lock in the…
-
0
votes1
answer332
views -
0
votes1
answer295
viewsChange logo image when from navbar-inverse CSS class
Inside my HTML on page I have a div of header that changes the css when scrolling the page to a given pixel. I can change the colors of the bar and the text but cannot change the logo image How do I…
-
0
votes1
answer158
viewsI cannot align <thead> with <tbody> in my table with SQL query
I have the following table header: <?php echo ' <div style="height:65px"> </div> <table id="oie" border="1" class="minha-table"> <thead class="headerr"…
-
0
votes1
answer45
viewsElements disappearing when you enter responsive mode and only appear when you click it
As soon as my page is loaded, all the elements that fit on the screen are rendered, but as you scroll down the screen a little bit, the elements are not shown, they are only rendered when I click on…
-
0
votes2
answers56
viewsNav doesn’t float right
The buttons of my navbar do not float right. I have tried applying the float: right in the menu and also in the items but no use. .container{ width: 100%; height: 100%; overflow-x: hidden; } body{…
-
0
votes1
answer98
viewsWhat would be the structure of CSS. How to build this gallery template?
I would like to know what CSS structure needs to be applied to get the increase of divs with a good transition of animation at CSS level of height and width, the internal content of the div does not…
-
0
votes2
answers690
viewsChange an image every click
Good people, I have a problem here. I searched here and on the Internet several times and I did not have an answer that would help me enough, I still have doubts. I have a website and I have…
-
0
votes1
answer43
viewsImage of duplicated opening Collapse
Recently I was able to solve a problem of putting an image and when I clicked on it, it became another, and when I went to pass the code to the other collapses, it happened to me: Closed collapse…
-
0
votes1
answer84
viewsproblem with a bootstrap footer 4
Well I’m trying to make a footer, but I’m in trouble, when I zoom out it doesn’t end up at the end of the page like this: how are: html : <div class="container-fluid pt-4 pb-1 xd"> <p…
-
0
votes1
answer56
viewsPagination - icon of selected page always in the middle or visible
In my structure, I want to be responsive the selected page always be visible, if possible in the middle of her class and "active", and the other options are hidden, and may appear if the page width…
-
0
votes2
answers2473
viewsHow to align an image to the right with in CSS and HTML?
@charset="UTF-8"; @import url('https://fonts.googleapis.com/css?family=Krub'); @import url('https://fonts.googleapis.com/css?family=Varela+Round'); /* CSS Document */ header { width:1900px;…
-
0
votes1
answer31
viewsButton CSS on tablet does not look like shown on PC and Responsive Design Mode
I did everything right but is not as expected when access the site by tablet, click run to see better what I say function mudarNome2() { if(document.getElementById("buttonhide2").value == "Ocultar…
-
0
votes1
answer33
views -
0
votes1
answer88
viewsJquery, exchanging images by clicking
Guys I have code here and when I click on the image it changes the text , when you click on the bottom, it changes the text but I need that when you click on the image,that activates the function of…
-
0
votes2
answers258
viewsHow do I display HTML and CSS elements in PHP at a specific access level
I am making a page, using PHP I entered an access level to it. The access levels are user and admin. Just that I want when the access level is admin a button appears and when it is user does not…
-
0
votes0
answers81
viewsCollapse Menu - Does not collect after selecting an item
On a One Page site, I implemented this Collapse Menu <nav class="navbar navbar-expand-sm bg-nav navbar-dark fixed-top"> <a class="navbar-brand" href="#"> <img class="logo"…
-
0
votes1
answer256
viewsLoading from inside partialview js/css
Good morning,insira o código aqui I am unable to load . js/. css when loading the partialview in the layout <!DOCTYPE html> <html> <head> ... @RenderSection("header", required:…
-
0
votes1
answer140
viewsHide information with javascript [DOUBT]
I am creating a simple HTML page and I separated the page into two vertically, so this way in the part that is in blue would the logo and the info of the tool (I have not yet done). When I click on…
-
0
votes3
answers176
viewsKeywords with Jquery
I’d like to do something like: For every word the user types, it looks like the image above. The closest I could get was to know the amount of words he typed, follow code below: <script…
-
0
votes1
answer342
viewsHelp with Responsive iframe formatting
Hello I need help I have a google form that I want to put on a page with the format of 1280*800 and the problem and that does not occupy the page completely hides always or at the end of the form or…
-
0
votes1
answer360
viewsHow do I let div overlap the other div?
How do I leave the div #inner-block in the foreground? #block-1 { position: absolute; width: 200px; height: 200px; top: 10px; left: 10px; background-color: #999; z-index: 1; } #inner-block {…
-
0
votes1
answer67
viewsIntegrar Javascript
I have a questionnaire where the user will answer x questions and will receive a reply at the end, when you click the button "answer". I made the first version where everything is working, except…
-
0
votes1
answer103
viewsPlacing Javascript in Div
I have this code to show the date <script language="javascript" type="text/javascript">// <![CDATA[ now = new Date document.write ("Esquenta Black Friday Somente Hoje " + now.getDate() + "…
-
0
votes1
answer43
viewsProblem in website formatting
Good morning, I’m having a problem with the css of my site it only works from the Laptop up to 4K, someone can tell me why? /*Mobile S*/ @media only screen and (max-width: 320px) { .content{…