How to set vertical height in CSS?

I need to give vertical height for the right element with full background. I tried by setting height:100%; max-height: 100% but the element takes only content height .full_container { height: 350px; border: 1px solid #dd...
more »

2017-09-18 08:09 (2) Answers

Mysterious space after navigation

I made this navigation bar using flexbox, but I want the right side buttons to be on the extreme right. Here's my code : https://codepen.io/mayankkamboj/pen/XKbdOY HTML: <link href='https://fonts.googleapis.com/css?family=Roboto:300,400' rel='st...
more »

2017-09-18 08:09 (2) Answers

Div's width set in vw, but doesn't work properly

I have a problem with CSS (or at least I think that the problem is in CSS). I set everything in vw, but it acts weirdly. In big resolution it looks normaly, but in small resolution it doesn't. You can see it on this GIF (it was too large to upload ...
more »

2017-09-17 19:09 (1) Answers

How to append list of string to div?

I have this div: <div id="cmplList" data-date="09/2017"></div> And this method: function test(data) { jQuery.each(data, function(index, value){ $('#cmplList').append($("ul").append($("<li>").tex...
more »

2017-09-17 15:09 (5) Answers

if and elif doesn't work in template django

if and elif doesn't work in my template django index.html <a style="{% if show.Ages == 19 %}background:#ff3636;{% elif show.Ages == 17 %}background:#fb9c92;{% elif show.Ages == 13 %}background:#ffb466;{% else %}background:#4aff68;{% endif %};bor...
more »

2017-09-17 14:09 (1) Answers

Customise bootstrap buttons

I want to have the bootstrap buttons bigger then btn-lg... heres my current code.. HTML when i add a new class to the anchor tags classes with padding it makes it look weird.. but this is what i want it to look like.. (This photo is before t...
more »

2017-09-17 11:09 (2) Answers

Dropdown Click PHP Data From mysql

<div class="btn-group m-b-5"> <button type="button" data-toggle="dropdown" class="btn dropdown-toggle btn-info"> Ana Kategori <span class="caret"></span> </button> <ul role="menu" class="dr...
more »

2017-09-15 19:09 (1) Answers

HTML form with large clickable area

I am re-phrasing a similar question that I posted yesterday. I'm not sure if this is the way I was supposed to go about it. My goal is to create a form which contains several input type="hidden' elements and a click area that covers a large area of ...
more »

2017-09-15 18:09 (2) Answers

CKEditor plugin pastfromword got html error

I try to update the CKEditor but end up in 450 Errors of the type: Processing instruction not closed and No End Tag. But the end tag is clearly there. They are all thrown by ie8.html or ie11.html which I did not modify. The path from main folder is:...
more »

2017-09-15 14:09 (0) Answers

Get HTML from XML tag

I had to get HTML from body tag of this XML file. Code: $doc = new DOMDocument(); $doc->load('https://m360-dev.opoint.com/api/feeds/f201637e-2524-4a56-8504-73090f532c91/view/'); foreach($doc->getElementsByTagName('document') as $node){ $b...
more »

2017-09-15 07:09 (1) Answers