Questions tagged as 'css'

3
answers

How to change the image of a button as JavaScript?

I'm making a classic old game in HTML, CSS and JavaScript, however, I want to know which command I can use to be able to swap the image of a button in javascript I know it has something to do with document.getElementById () <!DOCTYPE...
asked by 12.12.2018 / 15:24
2
answers

DropDown Menu Alignment

Personal, I'm making a menu and I have the following problem: Asyoucanseetheitemsdonotlineupasthetop****,wouldyoulikemetohavethislistgoleft?IalreadytriedsometagsbutIcouldnot(probablyI'musingthewrongtagaeuhaue)HTML<navclass="menu">...
asked by 24.12.2018 / 17:51
1
answer

Input type password show password [duplicate]

I followed some tutorials to get the viewer in the input Like this one here: link However when I run on my pc it gives the following error: Code:     
asked by 13.12.2018 / 03:00
1
answer

Set navbar and scroll horizontally in content

I'm trying to map with a navbar as picture: ButbymovingtheimageontheXaxistoseetherestofthecontent,navbaralsomovesaccordingtotheimage How do I enable scroll only on the X axis for the div map container? Follow css: Map: .mapa...
asked by 06.12.2018 / 03:29
3
answers

Fix first line table

I need to set the first row of my table always at the top of the page. I have read several questions about this same problem, but I could not solve ... My code: <table border="2px"> <tr bgcolor="0099FF" id="topo"> <th...
asked by 19.12.2014 / 02:17
1
answer

How to change the CSS of the components of primeNG in Angular?

menu.component.html <p-menubar class="menuPerson" [model]="items"></p-menubar> menu.component.css .menuPerson{ background-color: olivedrab; font-size: 14px; } menu.component.ts import { Component, OnInit } f...
asked by 18.12.2018 / 13:43
1
answer

How to put javascript variable value in CSS?

I have a code on the site style page (css) to make an animation, but the animation time should vary according to a variable that is in javascript, how do I get the value of this variable to enter into my css code ? css div.progresso { a...
asked by 10.12.2018 / 00:04
0
answers

Adding SVG (with JQuery and CSS) in Wordpress

Good morning. I have an SVG that is made with a JQuery function and a CSS and would like to make it work in Wordpress. I've tried the following: SVG code between tags <div><svg></svg></div> , with the function...
asked by 07.12.2018 / 13:38
3
answers

Print page with Background

I'm working on creating and printing reports with PHP, where a webpage is generated with the content of the report. I would like to put the watermark "CANCELED" when a report is canceled. For that, I'm using an image as a background, but the ima...
asked by 17.01.2018 / 13:17
1
answer

Problems with the positioning of the dialog of the firstfaces

I wanted to know a way to position my dialog a certain distance from the left side of the screen. <p:dialog id="dialogAcesso" showHeader="false" visible="true" width="500" position="left"> <div align="center">...
asked by 07.12.2018 / 15:39