<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<style type="text/css">
p{
width: 100px;
text-align: justify;
text-decoration: underline;
word-break: break-all;
}
</style>
</head>
<body>
<p>
Как сделать эффект text-decoration: underline на всю ширину блока, а не только под текстом?
</p>
</body>
</html>
­
(мягкий перенос) $_POST = NULL;
header("Location: " . Url::$url);
exit();
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
*{margin: 0;padding: 0;}
body{
padding: 50px;
}
.bm{
height: 20px;
width: 100px;
background: pink;
border-radius: 4px 0 0 4px;
display: inline-block;
}
.bm:after{
content: "";
display: inline-block;
float: right;
border: #fff solid 10px;
border-top-color: pink;
border-left-color: pink;
border-bottom-color: pink;
background: #fff;
}
</style>
</head>
<body>
<div class="bm"></div>
</body>
</html>
<input type='checkbox' id='prod-1' value='$id' >
<input type='checkbox' id='prod-2' value='$id' >
<input type='checkbox' id='prod-3' value='$id' >
..и так далее
id | uri_name | ...др. поля | ...
-------------------------------------------------------------
1 | chainiki-v-vide-babochki | ...др. поля | ...
a = p*(1+i)^n
b = p / (1-i)^n
function getPoint(Array $array1, Array $array2){
$sum = 0;
foreach($array2 as $id => $item)
if($item == 1) $sum += $array1[$id];
RETURN $sum;
}