Questions tagged as 'html'

1
answer

Change cell color according to result?

I am a beginner in this universe, and I am caught up in my development in a simple function that I can not understand. This code below gets a value from the database, and I would like the background cell to change by value, for example if the fi...
asked by 16.01.2017 / 23:16
1
answer

Getting information from a div in C #

Well, I have a code that reads the page however I need the following: <a href="/t848p15-teste">2</a> The idea of the code is to look for a <a> tag that has this 2 and return the link. In case, it would return...
asked by 18.07.2016 / 22:35
1
answer

Browser zoom does not work with my CSS

I have inside the body tag 3 divs with height defined in pixels and width in percentage. When the person types in CTRL + browsers zoom in up to 500%. My problem is that zooming does not work. I tried to define, in the body tag and in t...
asked by 01.06.2014 / 05:52
2
answers

How to avoid abrupt page break when printing a html table

I'm developing an html page, to be printed later. But when printing I noticed that the breaking of pages in the middle of tables, are getting strange and abrupt, as you can see in the following image: SohowcouldItreatsothatatthetimeofprint...
asked by 13.02.2015 / 18:03
1
answer

Can we use {variable} in CodeIgniter Views?

I know that we can use Views.html file in CodeIgniter, now I would like to know if we can use {variavel} tags directly like in Smarty. Example: <body> <h1>{msg}</h1> </body> Are there any native replacement fun...
asked by 22.12.2015 / 15:21
1
answer

PHP function select 2 values

Good! I am creating functions in PHP with the aim of returning the difference between the date TIMESTAMP of the database and today's date, and for this I have created two functions: function getRegistos() { $query = "SELECT *, DA...
asked by 26.01.2016 / 13:21
2
answers

How to use css in ion-list, ion-item?

Hello, I'm developing an app and on this screen I'm getting data from a json, so I have to use ng-repeat, but this way I can not use the css styles because it does not accept div or other mode (at least as I've tried).    <ion-list>...
asked by 04.03.2016 / 18:22
1
answer

Align text horizontally in relation to the image

I'm trying to align the text of some products in relation to the image, but I'm not getting success in what I'm doing, what I have is this: <div class="col-md-3 portfolio-item"> <a href="detalhes.php?prod=<?php echo $row_r...
asked by 29.02.2016 / 15:23
1
answer

\ n does not work in IE8 - JavaScript

Hello. I'm having problems with IE8, only in it, other browsers and different versions have already been tested and worked, only IE8 does not work. I have a question page in YES / NO as a choice on radio buttons. Underneath a submit button. W...
asked by 18.04.2016 / 04:42
1
answer

Open Image in Modal Bootstrap Dynamically

My intention is the following, after generating the list of images by PHP, I wanted that when I clicked on any of the images it would open in a modal dynamically, where I would pass the image address by some parameter and it would open in bootst...
asked by 26.03.2016 / 21:43