我正在尝试使用codeigniter 3.0.6存储用户注册日期和时间并使用
NOW()
Run Code Online (Sandbox Code Playgroud)
如
$this->db->set('user_nicename', $nameVar);
$this->db->set('user_login', $emailVar);
$this->db->set('user_pass', $passwordVar);
$this->db->set('user_registered', 'NOW()');
$this->db->insert('doc_users');
Run Code Online (Sandbox Code Playgroud)
但它不是在数据库中存储日期时间
我正试图设计一个像这样的轮廓图像形状
但我的代码给了我以下设计
我担心边框内的空白区域,这里的形状是代码
.doctor-profile-photo {
width: 210px;
height: 210px;
border-radius: 60px/140px;
border: 5px solid #000;
box-shadow: 0px 2px 5px #ccc;
}
.doctor-profile-photo img {
width: 100%;
height: 100%;
border-radius: 60px/140px;
}Run Code Online (Sandbox Code Playgroud)
<div class="doctor-profile-photo">
<img src="http://weknowyourdreams.com/images/bird/bird-09.jpg" alt="">
</div>Run Code Online (Sandbox Code Playgroud)
我正在尝试创建 HTML 电子邮件预览。电子邮件预览在 Gmail、Yahoo、Hotmail 和移动视图上运行良好,但遗憾的是在 Outlook 上无法运行。我尝试了多种属性但仍然失败。我附上了原始视图和外观视图,这个问题也在这里分享我的工作。请相应检查和指导。原始电子邮件视图如下
虽然 Outlook 上的预览看起来像这样
我附上下面的代码以寻求帮助
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>Shirt Mailer</title>
<style type="text/css">
@font-face {
font-family: 'Helvetica Neue';
src: url(http://www.biads.co.uk/uneek-emails/fonts/HelveticaNeue-Medium.ttf) format('truetype'),
url(http://www.biads.co.uk/uneek-emails/fonts/HelveticaNeue-Light.ttf) format('truetype');
font-style: normal;
font-weight: 400;
}
body {
-moz-box-sizing: border-box;
-ms-text-size-adjust: 100%;
-webkit-box-sizing: border-box;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
color: #000000;
font-family: 'Helvetica Neue';
font-size: 16px;
font-weight: normal;
line-height: 1;
margin: 0;
min-width: 100%;
padding: 0;
text-align: left;
width: 100% !important;
}
table …Run Code Online (Sandbox Code Playgroud)css ×2
html ×2
codeigniter ×1
css-shapes ×1
datetime ×1
html-email ×1
mysql ×1
outlook ×1
php ×1