Questions tagged as 'css'

1
answer

Open a div according to your ID

I have a menu that, when right-clicking, it opens in DIV . Everything happens inside a tr (line) of a table . My problem is the following , I have a table with several tr , and each of them gets a ID . A...
asked by 13.04.2016 / 13:51
2
answers

Tag picture does not work on phones and IE11

I'm working with the <picture> tag to use its responsive function and inserting multiple sizes of the same image into a single object according to the screen resolution by the "media" parameter of the <source> tag. In c...
asked by 19.02.2016 / 00:17
2
answers

How to change style of higher brothers?

I have a parent element (div # workarea) that has four children: figure#start , p#first , figure#start2 and p#second : <div id="workarea"> <h1 id="title">Área de Testes</h1> <figure id="sta...
asked by 01.06.2014 / 21:25
2
answers

How does hierarchy elements in css work? [duplicate]

I would like to know how the hierarchy works in css, I explain: Let's say in my style.css I set to h1, h2, h3, h4, etc. by default font-size: 12px; , so far beauty ... Now, if for example I insert inside a class...
asked by 19.04.2018 / 19:06
3
answers

What is the difference between display: inline-block and float: left

When testing with alignment of div , both have the same purpose But what would be the difference?     
asked by 28.05.2015 / 15:41
3
answers

Placing favicon on several pages on the same site

Is it possible for me to use a different favicon for each page of a site? For example, I have a site with ten pages, I want to put a different favicon on each page.     
asked by 15.05.2014 / 20:30
3
answers

Set CSS according to browser

I found a command to change CSS in Firefox: @-moz-document url-prefix() { body { background: #f00; } } This command will put a red background in firefox, for example. I found it very useful, but I would like to know if I...
asked by 02.05.2014 / 14:46
1
answer

How to create a slide with two divs?

I need to create a slide with two divs. I made one here just a scroll bar is coming down, look at the JSFiddle . HTML <div class="carrousel"> <div class="item active" id="about"> <p class="red">Primeiro aqui P...
asked by 29.05.2014 / 23:21
3
answers

Hide description with '' Display: none "is bad for SEO?

I have some links on the site and I will add a description for each one of them, and hide the description, but I have a question about hiding with display: none See how I want to do it <li><a href="http://www.facebook.com/d...
asked by 29.08.2016 / 19:31
1
answer

How to fit text around a 'div / image'?

I'm having a hard time adjusting a text in a div that has another div inside it, which is at the top left. Below is an image that explains better what I'm trying to do, I hope you can help me. Thank you.     
asked by 03.10.2016 / 16:48