Posts by Durval Rafael • 79 points
4 posts
-
2
votes1
answer992
viewsA: Hide widget when printing page
I don’t know if the question is consistent with the title of the same, but in case you hide or treat elements in the print version you only need to deal with css. Follow an example /*CSS para…
-
3
votes4
answers2279
viewsA: Responsive image
You can use the srcset attribute from Html5, in which case you need to have 'versions of this image', so the browser will only download the image according to the screen resolution. It kind of works…
-
0
votes3
answers441
viewsA: How to make simple include script in html
The simplest way that you can do is to create a CNAME note on your client’s website for a particular page, when the client accesses their login page through a subdomain for example, the note will be…
-
2
votes2
answers2015
viewsA: Generate rows of a table with different colors with repeat loop
You can perform this using bootstrap, it has a specific class for zebra tables. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> <table…