Questions tagged as 'css'

3
answers

Centralize elements using margin

I do not understand a lot of CSS or HTML, but I was building my website and I came across the following problem: Intheimageabove,youcanseethatallthumbnailsarearrangedandperfectlyaligned. WhenIresizethewindowthereisaspaceontheside.Iwantedtokn...
asked by 11.09.2015 / 01:31
2
answers

PHPmailer - CSS does not appear

Hello, I'm trying to set up phpmailer to send a message in html with css, but it's not recognizing the css. What's wrong? $mail->Body = ' <style type="text/css"> .corpo {margin: 15px;padding: 15px;background-col...
asked by 25.06.2015 / 21:27
1
answer

Is a background loaded even when a rule is not applied to an element?

I do not know if the title of the question is clear, I will try to explain as clearly as possible. I'm studying about responsive sites and I try my best not to use large images so the site does not stay slow. I saw that I can create different si...
asked by 02.04.2015 / 20:07
1
answer

Difference in formatting content in TextArea and Notepad

I have an ASP.NET MVC application where I display in a text area a content that is in the database. @Html.TextArea("Avisos", Model.Avisos, new { @class = "form-control", rows = 50, style = "max-width:none", @readonly = "" }) The display is...
asked by 01.06.2016 / 20:58
3
answers

How to distribute images horizontally equally within a section element?

I have the situation below: Ineedall04imagestobeevenlydistributedhorizontallywithinthespacedelimitedbysection,regardlessofbrowserwidth.Tonotbeleftwithvacantspaceasyoucanseetheright.Ilookedforseveralalternatives,butnothingcametothedesiredresu...
asked by 05.07.2017 / 17:45
1
answer

When to use vertical-align?

I have a notion that in certain cases it is recommended to use this property instead of text-align , margin or position . But I do not know why or how vertical-align works. Also, how do you use this property?    ...
asked by 04.11.2014 / 02:39
1
answer

Is it safe to use font-face instead of cufon and the like?

I'm working on a website and need to use fonts that the user may not have on their machine. Do most browsers now support @font-face ? From which versions? It is already possible to give up alternatives like cufón ?     
asked by 04.09.2014 / 20:42
2
answers

Centralizing using the absolute position

I do not understand the following code: div{ position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 100px; height: 100px; background: red; } Example online I know that setti...
asked by 20.12.2016 / 06:35
3
answers

Doubt of how to use a Less class with RAZOR

I'm researching a little to implement a feature to make life easier when programming. Is it possible to do this? We're using VS2013 with razor . I have the following class Less: .minColuna(@a) { -webkit-min-width: @a; -moz-...
asked by 10.08.2015 / 20:10
1
answer

Problem DropDown bootstrap menu

I have my dropdown menu But I always have to give 2 clicks to open the menu, I would like the first click to open it ... Would it be possible to have it without the element <a ? this is my code: <div class="navbar navbar-...
asked by 13.08.2014 / 22:04