Questions tagged as 'css'

1
answer

Problem in footer html + css [closed]

The on part does not appear on the footer <footerid="rodape"> <div id="endereco"> <div> <h2>Endereço:</h2> <p>Rua Alcides Lima, 150 bl6 apt 201</p> </div> </div> <div id="r...
asked by 16.10.2017 / 21:54
1
answer

Get the href link in the href itself

I have the code below <?php $paginaCorrente = parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY); ?> <ul class="menu"> <li><a href="?l1" <?php if ($paginaCorrente=="l1") echo class='linkVisitado'";?>>Link 1</...
asked by 27.09.2017 / 14:17
1
answer

Make multiple div's fixed

How to make so that when a div disappears all "stay where they are". I leave an example below to be more enlightening. $(document).ready(function(){ $("button").click(function(){ if($("#p" + $(this).attr("id")).is(":visible")){...
asked by 28.09.2017 / 11:51
2
answers

Simple problem with CSS alignment

Hello, I'm new to this, so I'm having a lot of trouble with this float. I want to do something like this: Myattempt: .ant{ position: absolute; float: left; width: 80px; height: auto; margin-left: 30%; margin-top: 60px; }...
asked by 01.11.2017 / 13:24
3
answers

Problem with div placement - CSS

I'm developing a hotsite and I'm having problems with css. HowdoIalwaysleavethebuttonnexttothetext? .divFixa{ font-family: 'Open Sans regular', sans-serif; font-style: italic; font-size: 11pt; color: #4D4D4D; background-color: #ccccc...
asked by 07.11.2017 / 19:35
2
answers

Fixed menu problem with bootstrap

I have a problem in the menu of the site I'm creating, I took a style from a menu of Boostrap , where it was fixed, I made some changes to the CSS menu (nothing more ). But when I go down the page the menu does not come together, ie it is not f...
asked by 07.11.2017 / 17:31
2
answers

Change CSS with jQuery

I have already changed css with jQuery, but I would like to test a feature, in onclick it add a css but a :before field how could I do that? Working Code $j("#nome-login-mobile").click(function(){ if ($j('#options-menu').is(':v...
asked by 21.09.2017 / 18:43
2
answers

If it does not fit on the div, show: more X results

I need to solve the following problem: I have a div that displays a list of names that are loaded according to a query condition. This list of names varies a lot, sometimes it appears 5, sometimes 30 names appear. I need to limit the di...
asked by 20.12.2017 / 16:05
1
answer

change content color according to values in table

Someone can help me thank you I get values in the format ex: 5/7 is the result of the score that the user registers and can view on the same screen, if I had only the number I believe that JS would take this in an int and it would be easy for...
asked by 18.12.2017 / 21:30
2
answers

Div does not show image

I'm learning how to create websites now and I'm having trouble inserting image into css. When I use the; img src="image.jpg" tag, in the .html file the image appears, however if I put it in the .css file and step to div, it has no sign of it....
asked by 24.12.2017 / 22:48