我有一个超链接,其中包含一个
我想知道如何在其中应用CSS格式化技术,例如
有人能给我任何想法吗?
mailto
链接,并在超链接本身中指定主题和正文文本。因此,当用户单击超链接时,他的默认电子邮件客户端应用程序将打开,并预填充To、Subject和正文文本。我想知道如何在其中应用CSS格式化技术,例如
font
名称、font color
等等。有人能给我任何想法吗?
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Unauthorized access</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- bootstrap 3.0.2 -->
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
<!-- font Awesome -->
<link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
</head>
<body class="skin-blue">
<!-- header logo: style can be found in header.less -->
<div>
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side" style="margin-left:0">
<section class="content">
<div class="error-page" style="margin: 0">
<div class="error-content" style="width:100%">
<h3><i class="fa fa-warning text-yellow"></i> You are not authorized to view the content.</h3> <br>
<p style="width:75%; text-align:center;margin-left:15%">
Please make sure you have the access to the server or contact support team at <a href="mailto:username@domain.com?subject=Unable to access server&body=Hi,%0D%0A%0D%0AMy user account does not have access for the server.%0D%0A%0D%0ARequest you to kindly provide access to server.">username@domain.com</a>.
</p>
</div><!-- /.error-content -->
</div><!-- /.error-page -->
</section><!-- /.content -->
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->
</body>
</html>
当单击电子邮件超链接时,下面的消息将显示在电子邮件内容中。
我想对红色框中突出显示的内容应用CSS格式。
<aside class="right-side" style="margin-left:0">
将变成<aside style="float: right; margin-left: 0">
。即使如此,也可能不起作用,因为每个客户端都有自己的样式,你需要用内联样式覆盖它们。 - Marin N.