Questions tagged as 'css'

1
answer

One .CSS for "Above the Fold" and another .CSS for "Below the fold" - Is it worth it?

In terms of performance and maintainability would it be nice to have 2 files of css on the page, one for the content that appears before the fold and another for the content that appears after the fold? Type: <link href="above.cs...
asked by 13.04.2018 / 17:05
0
answers

Doubt Js code for div exchange

I have a website in Wordpress and I'm having difficulties in the following function, I created a small script, which when clicking a button, it should replace one div with another, to exchange content without reloading the page, so far so good,...
asked by 12.03.2018 / 20:50
2
answers

How to call HTML code inside the css?

First, it's quite possible that there are already topics talking about it. It was not lack of research, I just believe that I did not find the correct keywords. Self explanatory question. I need a given code to appear on the page, according t...
asked by 12.03.2018 / 16:31
1
answer

Pin Menu Bar on Top

I'm working on a website that the HTML menu is not changeable. I want when the user scrolls the scroll bar up to the menu bar, it becomes fixed at the top of the page, respecting the distance of another bar that is working and is already set aut...
asked by 12.03.2018 / 18:42
2
answers

Can I put a background image in a section?

I created a section in my HTML and in the CSS I put: section{ background-image: url(../img/bkg2.jpg); } But the image does not appear. And I checked the path and it's correct.     
asked by 24.02.2018 / 14:54
2
answers

Viewing the navbar-brand on smartphones

I'm a newbie and would like some help with a problem I'm experiencing on my mobile site. I'm using bootstrap. Here's the result: ThetextSquishMonstersispastingintonavbar,thecorrectresultshouldbe: Note:Thefirstisinamotorolag4+andthesecondi...
asked by 25.02.2018 / 04:39
1
answer

Add point in the numbering of the title and add numbering in the sub-title of the ordered list

I would like to know where I'm going wrong in my css code, as I'm trying to put a dot in the sorted list title, eg: Title And also add subtitle to it: Title 1.1 Subtitle But when I see the test, it is not adding the point in t...
asked by 23.02.2018 / 16:52
3
answers

Can I create a dropdown menu within a href?

In case I have a <a> tag, I can add a <ul> tag with <li> to create a dropdown menu <a href="out_denuncia.aspx" id="menuHomeMaster">Denúncia/Sugestão</a> or just the same: <ul class...
asked by 13.03.2018 / 21:04
2
answers

Bug using link with anchors to other pages

I have a certain problem that I do not have the slightest idea how to solve other than using gambiarra to increase the space. My problem is this: I'm trying to use anchors with # to click on a page x go to page y and scroll to the...
asked by 14.03.2018 / 14:27
1
answer

Insert multiple products + a rental date for each

I have a tremendous doubt and no way to solve it. I need to select products to rent for a client and give them a rental date, but I do not know how to present it in the system in a simple and functional way. Example: DB Products 1 -...
asked by 15.02.2018 / 14:37