Questions tagged as 'css'

1
answer

Put div next to div

Well, I have the div items and the div items2, which are both inserted by 1 div. What I wanted to do was to align the div items and the div items2, since the div items2 always stays below the other. What's happening: link Code: &...
asked by 29.05.2017 / 16:16
1
answer

Error converting HTML to PDF using XMLWorkerHelper

While exporting the HTML file to PDF using iTextSharp and XMLWorker error occurs in some situations saying that certain tag is not closed and searching I found this post My application queries an SQL table from where it returns saved HTML...
asked by 29.05.2017 / 18:49
2
answers

SASS - Color group for reuse

I'm starting in SASS, and I have a problem that I can not solve. I have a color group, which will be used in several sessions of my site. Basically, I have a structure like this: <section id="lista-noticias" class="regioes"> <...
asked by 29.05.2017 / 18:00
1
answer

How to put a div over another with responsive?

Galera, I'm a beginner, but I managed to make a 'gallery' for myself, but I'm having trouble putting an image and a text on the items in that gallery. As you can see in the code below, when I set a HEIGHT, it gets a huge edge on between the firs...
asked by 07.07.2017 / 19:49
1
answer

Open .js file when MediaQuery is larger than 1024px

At the end of index.php (responsive layout) you have a call to < script type='text/javascript' src='desk.js'>< /script> It turns out that this JS will only act with MediaQuery greater than 1024px. I ask: Is it possible to m...
asked by 06.07.2017 / 07:00
1
answer

HTML Layout Ratio

I'm starting a project using the materialize css library, I'm not very knowledgeable about layouts , I'm having difficulty with the proportion of HTML elements. In the% w / w of% below, it is expected to: However,whenyouo...
asked by 18.05.2017 / 18:42
1
answer

Center navbar

I would like help centering the following navbar items when viewed on desktop HTML <div class="menu" id="menu"> <a href="#home">Home</a> <a href="#news">News</a> <a href="#contact">Contact<...
asked by 23.05.2017 / 01:21
1
answer

Using @import in CSS

I would like to know how to use @import to import style sheets into another style sheet, for example: Inside the style.css file: @import url("css/layout.css"); body{ background: #F0F0F0; } .container{ width: 80%; marg...
asked by 21.05.2017 / 18:14
1
answer

jQuery and css menu

The icon is not aligned equal to the text Well follow the code of the menu, I thank you for the help. $(".top_menu ul").each(function() { alignMenu(this); var robj = this; $(window).resize(function() { $(robj).append($($($...
asked by 24.05.2017 / 03:27
1
answer

Importing Boostrap.sass

I installed Bootstrap SASS in my project through NPM. After installation I tried to import the Bootstrap files into my CSS folder by creating an SASS file and gave the command @import ../bower_components/bootstrap-sass/assets/stylesheets/boots...
asked by 21.05.2017 / 20:10