Results: 1578
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
date format: yyyy-mm-dd
MySQL:
SELECT CONVERT(varchar, getdate(), 23)
MSSQL:
SELECT DATE_FORMAT(curdate(), "%Y-%m-%d");
by Valeri Tandilashvili
5 years ago
0
MySQL
MySQL & MSSQL query differences
2
include resource
The statement does not work when config.php is one step out of the root directory on servage.net
include_once '../../config.php';
But works one of these lines:
include_once './../config.php';
include_once $_SERVER['DOCUMENT_ROOT'].'/../config.php';
Output of the second solution is:
/storage/content/95/1009995/test.sibrdzne.ge/public_html/../config.php
by Valeri Tandilashvili
5 years ago
0
PHP
issues
1
Sass code:
.site-header nav {
    ul {
        padding: 0;
        margin: 0;
    }
    li {
        list-style: none;
        float: left;
    }
}
After Sass preprocessor:
.site-header nav ul {
    padding: 0;
    margin: 0;
}
.site-header nav li {
    list-style: none;
    float: left;
}
by Valeri Tandilashvili
5 years ago
0
Sass
nested CSS
Sass Tutorial for Beginners
0
Sass code:
$primaryColor: #ec7705;
a {
    color: $primaryColor;
}
After Sass preprocessor:
a {
    color: #ec7705;
}
by Valeri Tandilashvili
5 years ago
0
Sass
variables
Sass Tutorial for Beginners
0
.container {
    background: url(../images/tile.png) left bottom repeat-x,  #FFF url(../images/tile.png) left top repeat-x;
}
by Valeri Tandilashvili
5 years ago
0
CSS
properties
Learn CSS
1
Resize the background image to cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges.
by Valeri Tandilashvili
5 years ago
0
CSS
properties
Learn CSS
1
<meta name="viewport" content="width=device-width, initial-scale=1.0">
This tag gives the browser instructions on how to control the page's dimensions and scaling. The line should always be included to create a responsive layout
by Valeri Tandilashvili
5 years ago
0
CSS
responsive design
Learn CSS
1
@media screen and (max-width: 500px) {
    nav ul li {
        width: 50%;
        font-size: 120%;
    }
}
by Valeri Tandilashvili
5 years ago
0
CSS
responsive design
Learn CSS
1
@media screen and (max-width: 620px) {
    nav ul li {
        width: 33%;
    }
}
by Valeri Tandilashvili
5 years ago
0
CSS
responsive design
Learn CSS
1
nav ul li {
    width: 25%;
    border-bottom: 1px solid #bababa;
}
by Valeri Tandilashvili
5 years ago
0
CSS
responsive design
Learn CSS
1
Results: 1578